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.001167/0.001167, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001485/0.001485, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9922/0.9922, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 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.6116/0.6116, allocations: 115 MB / 375.7 MB, free: 7.672 MB / 346.7 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 1.904e-06/1.904e-06, allocations: 0 / 481.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.809e-05, allocations: 2.312 kB / 481.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004053/0.004081, allocations: 2.535 MB / 484 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.006089, allocations: 1.419 MB / 485.5 MB, free: 9.277 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.006244, allocations: 7.844 kB / 485.5 MB, free: 9.273 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005598/0.006804, allocations: 87.62 kB / 485.6 MB, free: 9.227 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.007228, allocations: 189.8 kB / 485.7 MB, free: 9.117 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.007709, allocations: 231.5 kB / 486 MB, free: 9.004 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.008167, allocations: 412.8 kB / 486.4 MB, free: 8.816 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.008488, allocations: 168.3 kB / 486.5 MB, free: 8.742 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003524/0.00884, allocations: 230.3 kB / 486.8 MB, free: 8.648 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.009084, allocations: 171.4 kB / 486.9 MB, free: 8.594 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.009123, allocations: 28.53 kB / 487 MB, free: 8.594 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.00934, allocations: 192.3 kB / 487.1 MB, free: 8.539 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.95e-05/0.00943, allocations: 112 kB / 487.3 MB, free: 8.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.116e-05/0.009521, allocations: 99.45 kB / 487.3 MB, free: 8.438 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.009902, allocations: 363.6 kB / 487.7 MB, free: 8.293 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.009905, allocations: 0.625 kB / 487.7 MB, free: 8.293 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.009906, allocations: 1.188 kB / 487.7 MB, free: 8.293 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.009912, allocations: 0.9375 kB / 487.7 MB, free: 8.293 MB / 410.7 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.0007188/0.01063, allocations: 0.6657 MB / 488.4 MB, free: 7.738 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.01067, allocations: 9.75 kB / 488.4 MB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006061/0.01127, allocations: 172.2 kB / 488.5 MB, free: 7.695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.01153, allocations: 238.7 kB / 488.8 MB, free: 7.504 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.01155, allocations: 13.5 kB / 488.8 MB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.01159, allocations: 23.91 kB / 488.8 MB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.01204, allocations: 345.5 kB / 489.2 MB, free: 7.281 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.01205, allocations: 1.719 kB / 489.2 MB, free: 7.281 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.01208, allocations: 14.83 kB / 489.2 MB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.8e-05/0.01212, allocations: 25.61 kB / 489.2 MB, free: 7.262 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.01238, allocations: 153.2 kB / 489.3 MB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.01358, allocations: 1.476 MB / 490.8 MB, free: 21.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.01406, allocations: 271.4 kB / 491.1 MB, free: 21.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.01417, allocations: 70.27 kB / 491.2 MB, free: 21.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.336e-05/0.01426, allocations: 18.97 kB / 491.2 MB, free: 21.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.0145, allocations: 199.6 kB / 491.4 MB, free: 21.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 1.352e-06/0.0145, allocations: 0 / 491.4 MB, free: 21.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007665/0.01526, allocations: 367.2 kB / 491.7 MB, free: 21.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.01529, allocations: 84.98 kB / 491.8 MB, free: 21.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.01545, allocations: 279 kB / 492.1 MB, free: 21.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.01548, allocations: 31.83 kB / 492.1 MB, free: 21.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.01556, allocations: 209.7 kB / 492.3 MB, free: 21.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.01561, allocations: 106.9 kB / 492.4 MB, free: 20.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.11e-05/0.01569, allocations: 66.23 kB / 492.5 MB, free: 20.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.01581, allocations: 0.5106 MB / 493 MB, free: 20.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.01594, allocations: 99.22 kB / 493.1 MB, free: 20.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.01609, allocations: 200.9 kB / 493.3 MB, free: 20.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.01636, allocations: 280.3 kB / 493.6 MB, free: 19.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01636, allocations: 1.094 kB / 493.6 MB, free: 19.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004689/0.01683, allocations: 385 kB / 493.9 MB, free: 19.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.01685, allocations: 40.92 kB / 494 MB, free: 19.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01686, allocations: 2.656 kB / 494 MB, free: 19.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/0.01704, allocations: 39.44 kB / 494 MB, free: 19.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.01727, allocations: 82.53 kB / 494.1 MB, free: 19.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009568/0.01822, allocations: 1.852 MB / 496 MB, free: 17.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.01845, allocations: 44.47 kB / 496 MB, free: 17.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.01849, allocations: 22.02 kB / 496 MB, free: 17.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001789/0.01867, allocations: 223.2 kB / 496.2 MB, free: 17.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001401/0.01881, allocations: 189.7 kB / 496.4 MB, free: 17.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002429/0.01905, allocations: 273.5 kB / 496.7 MB, free: 17.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.01905, allocations: 1.188 kB / 496.7 MB, free: 17.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004424/0.01949, allocations: 367.1 kB / 497.1 MB, free: 17.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.01951, allocations: 33.73 kB / 497.1 MB, free: 17.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01952, allocations: 6.203 kB / 497.1 MB, free: 17.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001071/0.01962, allocations: 46.41 kB / 497.1 MB, free: 17.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.01983, allocations: 85.42 kB / 497.2 MB, free: 17.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008106/0.02064, allocations: 1.851 MB / 499.1 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.0208, allocations: 41.34 kB / 499.1 MB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.02082, allocations: 12.75 kB / 499.1 MB, free: 15.23 MB / 426.7 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.0001338/0.02095, allocations: 296.3 kB / 499.4 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.02099, allocations: 33.83 kB / 499.4 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.02137, allocations: 279 kB / 499.7 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.02138, allocations: 4.031 kB / 499.7 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.02138, allocations: 1.438 kB / 499.7 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.02139, allocations: 4.719 kB / 499.7 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.02173, allocations: 470.4 kB / 0.4885 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.02174, allocations: 3.719 kB / 0.4885 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.02191, allocations: 70.11 kB / 0.4885 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.735e-05/0.02201, allocations: 34.22 kB / 0.4886 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.02202, allocations: 6.719 kB / 0.4886 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007978/0.02282, allocations: 1.801 MB / 0.4903 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.02282, allocations: 0 / 0.4903 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.0233, allocations: 409.9 kB / 0.4907 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.02338, allocations: 61.56 kB / 0.4908 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.02341, allocations: 8.656 kB / 0.4908 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.02355, allocations: 29.08 kB / 0.4908 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.02362, allocations: 37.33 kB / 0.4909 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.02364, allocations: 10.69 kB / 0.4909 GB, free: 12.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.02376, allocations: 205.3 kB / 0.4911 GB, free: 12.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02376, allocations: 0 / 0.4911 GB, free: 12.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004146/0.02417, allocations: 129.4 kB / 0.4912 GB, free: 12.1 MB / 426.7 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.0001383/0.02431, allocations: 109.7 kB / 0.4913 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008053/0.02512, allocations: 0.8519 MB / 0.4921 GB, free: 11.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.02512, allocations: 3.125 kB / 0.4921 GB, free: 11.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.02533, allocations: 280.9 kB / 0.4924 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.02563, allocations: 58.95 kB / 0.4924 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008991/0.02653, allocations: 0.5614 MB / 0.493 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.212e-05/0.0266, allocations: 110.7 kB / 0.4931 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001883/0.02679, allocations: 77.52 kB / 0.4932 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.568e-05/0.02687, allocations: 32.31 kB / 0.4932 GB, free: 10.69 MB / 426.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02687, allocations: 0 / 0.4932 GB, free: 10.69 MB / 426.7 MB Notification: Performance of Templates: time 0.008588/0.03546, allocations: 5.415 MB / 0.4985 GB, free: 9.668 MB / 426.7 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6737064830958843]