Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 80.81 kB / 21.55 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 167.6 kB / 24.97 MB, free: 8.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9728/0.9728, allocations: 177.1 MB / 205.4 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.918/1.918, allocations: 389.6 MB / 0.6362 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.776 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.257e-05, allocations: 6.25 kB / 0.776 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.005344/0.005377, allocations: 2.575 MB / 0.7785 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003062/0.008438, allocations: 1.437 MB / 0.7799 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.008681, allocations: 7.938 kB / 0.7799 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005646/0.009246, allocations: 91.97 kB / 0.78 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005534/0.009799, allocations: 198.8 kB / 0.7802 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007112/0.01051, allocations: 215.3 kB / 0.7804 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006547/0.01117, allocations: 418.5 kB / 0.7808 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004112/0.01158, allocations: 190.7 kB / 0.781 GB, free: 320 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000536/0.01211, allocations: 227.5 kB / 0.7812 GB, free: 92 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004338/0.01255, allocations: 171.5 kB / 0.7813 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.01261, allocations: 24 kB / 0.7814 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004606/0.01307, allocations: 191.6 kB / 0.7815 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.01321, allocations: 103.7 kB / 0.7816 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.01334, allocations: 103.7 kB / 0.7817 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00067/0.01401, allocations: 366.7 kB / 0.7821 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.01402, allocations: 0 / 0.7821 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.312e-06/0.01402, allocations: 1.594 kB / 0.7821 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.01403, allocations: 4 kB / 0.7821 GB, free: 15.14 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001068/0.0151, allocations: 0.5175 MB / 0.7826 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.01515, allocations: 14.44 kB / 0.7826 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009813/0.01613, allocations: 153.9 kB / 0.7828 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.01654, allocations: 207.5 kB / 0.783 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.01656, allocations: 18.2 kB / 0.783 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.01662, allocations: 28.36 kB / 0.783 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/0.01719, allocations: 309.5 kB / 0.7833 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.01721, allocations: 4.125 kB / 0.7833 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.01724, allocations: 9.422 kB / 0.7833 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-05/0.0173, allocations: 32.3 kB / 0.7833 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.01756, allocations: 94.41 kB / 0.7834 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.01895, allocations: 1.007 MB / 0.7844 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/0.01949, allocations: 248.1 kB / 0.7847 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.01961, allocations: 46.33 kB / 0.7847 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.01971, allocations: 16.52 kB / 0.7847 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002944/0.02001, allocations: 184.7 kB / 0.7849 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.846e-06/0.02001, allocations: 1.469 kB / 0.7849 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0008101/0.02082, allocations: 241.7 kB / 0.7851 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.02086, allocations: 85.11 kB / 0.7852 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.02105, allocations: 216.9 kB / 0.7854 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.02108, allocations: 33.64 kB / 0.7854 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.02117, allocations: 161.7 kB / 0.7856 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.041e-05/0.02125, allocations: 95.19 kB / 0.7857 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.02137, allocations: 61.62 kB / 0.7858 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.02149, allocations: 339.7 kB / 0.7861 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.02162, allocations: 74.62 kB / 0.7861 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.02178, allocations: 147.9 kB / 0.7863 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.02208, allocations: 213.5 kB / 0.7865 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.02209, allocations: 7.984 kB / 0.7865 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004651/0.02255, allocations: 276 kB / 0.7868 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.02259, allocations: 41.62 kB / 0.7868 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.0226, allocations: 4 kB / 0.7868 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/0.0228, allocations: 33 kB / 0.7868 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.02311, allocations: 80.53 kB / 0.7869 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.0242, allocations: 1.294 MB / 0.7882 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.02442, allocations: 39.83 kB / 0.7882 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.02445, allocations: 7.984 kB / 0.7882 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001871/0.02464, allocations: 157 kB / 0.7884 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001528/0.02479, allocations: 146.5 kB / 0.7885 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002724/0.02506, allocations: 209.8 kB / 0.7887 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-06/0.02507, allocations: 4 kB / 0.7887 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004381/0.0255, allocations: 277 kB / 0.789 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.02553, allocations: 36.2 kB / 0.789 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.02554, allocations: 4 kB / 0.789 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001554/0.02569, allocations: 50.48 kB / 0.7891 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.02599, allocations: 67.89 kB / 0.7891 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009978/0.02699, allocations: 1.293 MB / 0.7904 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.02718, allocations: 32 kB / 0.7904 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.02721, allocations: 16 kB / 0.7904 GB, free: 5.973 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.02737, allocations: 197.4 kB / 0.7906 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.02743, allocations: 32.56 kB / 0.7907 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.02792, allocations: 216.1 kB / 0.7909 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.02793, allocations: 0 / 0.7909 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.02793, allocations: 1.062 kB / 0.7909 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.02804, allocations: 39.73 kB / 0.7909 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.02808, allocations: 11.98 kB / 0.7909 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.02825, allocations: 24.95 kB / 0.7909 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/0.02834, allocations: 24.89 kB / 0.791 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004737/0.02881, allocations: 381 kB / 0.7913 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004776/0.02929, allocations: 492.2 kB / 0.7918 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001286/0.02942, allocations: 70.11 kB / 0.7919 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001047/0.02952, allocations: 74.78 kB / 0.7919 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of Backend: time 6.82e-07/0.02952, allocations: 1.062 kB / 0.7919 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.03136, allocations: 0.8017 MB / 0.7927 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of SimCode: time 0.001158/0.03251, allocations: 1.052 MB / 0.7937 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of Templates: time 0.0102/0.04272, allocations: 8.509 MB / 0.8021 GB, free: 10.07 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.159883227199316]