Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001279/0.001279, allocations: 75.38 kB / 19.93 MB, free: 1.773 MB / 14.72 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.001374/0.001374, allocations: 168.2 kB / 23.22 MB, free: 4.879 MB / 14.72 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 1.396/1.396, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9113/0.9113, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.627e-06/3.627e-06, allocations: 3.984 kB / 0.5547 GB, free: 2.645 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.725e-05, allocations: 5.094 kB / 0.5547 GB, free: 2.641 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004582/0.00461, allocations: 2.956 MB / 0.5576 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.007805, allocations: 1.85 MB / 0.5594 GB, free: 13.81 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.007934, allocations: 8 kB / 0.5594 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008457/0.00878, allocations: 238.9 kB / 0.5596 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005322/0.009312, allocations: 230.6 kB / 0.5598 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.009954, allocations: 270.2 kB / 0.5601 GB, free: 13.08 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004996/0.01045, allocations: 406.6 kB / 0.5605 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003363/0.01079, allocations: 171.2 kB / 0.5606 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000373/0.01116, allocations: 235.3 kB / 0.5609 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.01148, allocations: 167.6 kB / 0.561 GB, free: 12.12 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.01153, allocations: 28 kB / 0.5611 GB, free: 12.1 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004513/0.01198, allocations: 271.3 kB / 0.5613 GB, free: 11.83 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.01211, allocations: 103.7 kB / 0.5614 GB, free: 11.73 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.01227, allocations: 111.7 kB / 0.5615 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006983/0.01297, allocations: 0.5257 MB / 0.562 GB, free: 11.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01297, allocations: 0 / 0.562 GB, free: 11.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01297, allocations: 0 / 0.562 GB, free: 11.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.01298, allocations: 3.938 kB / 0.562 GB, free: 11.09 MB / 478.1 MB 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.001289/0.01427, allocations: 0.5807 MB / 0.5626 GB, free: 10.47 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.0143, allocations: 8.625 kB / 0.5626 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.01533, allocations: 132.6 kB / 0.5627 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/0.01575, allocations: 225.2 kB / 0.5629 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.01578, allocations: 20.86 kB / 0.563 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.145e-05/0.01584, allocations: 28.25 kB / 0.563 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009219/0.01676, allocations: 452.8 kB / 0.5634 GB, free: 9.566 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.01678, allocations: 12.11 kB / 0.5634 GB, free: 9.555 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/0.01682, allocations: 8.375 kB / 0.5634 GB, free: 9.547 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.275e-05/0.01688, allocations: 28.3 kB / 0.5635 GB, free: 9.516 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.01789, allocations: 400.8 kB / 0.5639 GB, free: 9.125 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.0197, allocations: 1.244 MB / 0.5651 GB, free: 7.828 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.02103, allocations: 464.9 kB / 0.5655 GB, free: 7.355 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.02151, allocations: 186.2 kB / 0.5657 GB, free: 7.168 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.02162, allocations: 15.94 kB / 0.5657 GB, free: 7.152 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006575/0.02228, allocations: 300.2 kB / 0.566 GB, free: 6.832 MB / 478.1 MB Notification: Performance of pre-optimization done (n=27): time 2.124e-06/0.02228, allocations: 0 / 0.566 GB, free: 6.832 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.002199/0.02448, allocations: 0.6997 MB / 0.5667 GB, free: 6.125 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.02454, allocations: 81.11 kB / 0.5668 GB, free: 6.027 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.02479, allocations: 229.7 kB / 0.567 GB, free: 5.797 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.02483, allocations: 33.7 kB / 0.567 GB, free: 5.758 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.02497, allocations: 168.6 kB / 0.5672 GB, free: 5.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.177e-05/0.02506, allocations: 95.19 kB / 0.5673 GB, free: 5.496 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.02519, allocations: 65.69 kB / 0.5673 GB, free: 5.426 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.02535, allocations: 330.8 kB / 0.5676 GB, free: 5.094 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.02587, allocations: 222.8 kB / 0.5678 GB, free: 4.867 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005531/0.02642, allocations: 279 kB / 0.5681 GB, free: 4.559 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.02749, allocations: 483 kB / 0.5686 GB, free: 4.051 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.02749, allocations: 8 kB / 0.5686 GB, free: 4.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001358/0.02885, allocations: 0.5857 MB / 0.5692 GB, free: 3.438 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.12e-05/0.0289, allocations: 37.7 kB / 0.5692 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.02891, allocations: 4 kB / 0.5692 GB, free: 3.391 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/0.02914, allocations: 36.83 kB / 0.5692 GB, free: 3.352 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.02962, allocations: 95.78 kB / 0.5693 GB, free: 3.258 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.03116, allocations: 1.477 MB / 0.5708 GB, free: 1.668 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.03155, allocations: 59.7 kB / 0.5708 GB, free: 1.609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.03159, allocations: 19.98 kB / 0.5708 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000589/0.03217, allocations: 314 kB / 0.5711 GB, free: 1.273 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005391/0.03271, allocations: 282.8 kB / 0.5714 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001004/0.03372, allocations: 462.2 kB / 0.5718 GB, free: 484 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.664e-06/0.03372, allocations: 4 kB / 0.5719 GB, free: 480 kB / 478.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.00135/0.03507, allocations: 0.5521 MB / 0.5724 GB, free: 15.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.03511, allocations: 37.98 kB / 0.5724 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.03511, allocations: 4 kB / 0.5724 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.03527, allocations: 40.77 kB / 0.5725 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/0.03575, allocations: 95.78 kB / 0.5726 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.03728, allocations: 1.466 MB / 0.574 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.03764, allocations: 55.89 kB / 0.574 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.03768, allocations: 12 kB / 0.5741 GB, free: 14.07 MB / 494.1 MB 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.0002021/0.03788, allocations: 204.1 kB / 0.5743 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.03793, allocations: 23.86 kB / 0.5743 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.03914, allocations: 482.4 kB / 0.5747 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.03914, allocations: 64 / 0.5747 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.03915, allocations: 12 kB / 0.5747 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.03917, allocations: 3.984 kB / 0.5748 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000661/0.03983, allocations: 463.5 kB / 0.5752 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.03983, allocations: 4 kB / 0.5752 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.04022, allocations: 75.86 kB / 0.5753 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001283/0.04035, allocations: 32.83 kB / 0.5753 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.04038, allocations: 11.98 kB / 0.5753 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.0417, allocations: 1.389 MB / 0.5767 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.04171, allocations: 4.031 kB / 0.5767 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.0428, allocations: 0.5419 MB / 0.5772 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.04293, allocations: 59.83 kB / 0.5773 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.04297, allocations: 7.953 kB / 0.5773 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.04332, allocations: 39.94 kB / 0.5773 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.04344, allocations: 35.83 kB / 0.5773 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.04347, allocations: 8 kB / 0.5773 GB, free: 10.51 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002349/0.0437, allocations: 181.2 kB / 0.5775 GB, free: 10.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0437, allocations: 0 / 0.5775 GB, free: 10.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000628/0.04433, allocations: 132 kB / 0.5776 GB, free: 10.21 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0001998/0.04453, allocations: 115.2 kB / 0.5778 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002198/0.04673, allocations: 1.028 MB / 0.5788 GB, free: 8.996 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.04673, allocations: 0.8125 kB / 0.5788 GB, free: 8.996 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006607/0.04739, allocations: 320.1 kB / 0.5791 GB, free: 8.672 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.04785, allocations: 51.05 kB / 0.5791 GB, free: 8.625 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.04911, allocations: 0.6068 MB / 0.5797 GB, free: 7.977 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.0493, allocations: 174.8 kB / 0.5799 GB, free: 7.789 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002982/0.04959, allocations: 98.19 kB / 0.58 GB, free: 7.691 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.04972, allocations: 28.5 kB / 0.58 GB, free: 7.664 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.04972, allocations: 0 / 0.58 GB, free: 7.664 MB / 494.1 MB Notification: Performance of Templates: time 0.01065/0.06037, allocations: 5.141 MB / 0.585 GB, free: 2.594 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3300009444355965] Failed to read output from testmodel.py, exit status != 0: 0.06945497542619705 0.083940001 0.06791952300000001 Calling exit ...