Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001308/0.001308, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.002125/0.002125, allocations: 169 kB / 24.05 MB, free: 456 kB / 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 1.007/1.007, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.5906/0.5906, allocations: 115 MB / 376 MB, free: 7.504 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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 482 MB, free: 11.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.548e-05, allocations: 7.688 kB / 482 MB, free: 11.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003113/0.003138, allocations: 2.64 MB / 484.6 MB, free: 9.977 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.005167, allocations: 1.456 MB / 486.1 MB, free: 9.051 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.005324, allocations: 11.88 kB / 486.1 MB, free: 9.043 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000424/0.005748, allocations: 99.84 kB / 486.2 MB, free: 8.988 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.006117, allocations: 209.9 kB / 486.4 MB, free: 8.867 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.006574, allocations: 263 kB / 486.6 MB, free: 8.746 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.006957, allocations: 421.2 kB / 487 MB, free: 8.566 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.007205, allocations: 165.9 kB / 487.2 MB, free: 8.492 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.007487, allocations: 229.1 kB / 487.4 MB, free: 8.402 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.007775, allocations: 184.5 kB / 487.6 MB, free: 8.355 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.007816, allocations: 24.72 kB / 487.6 MB, free: 8.355 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.008062, allocations: 171.6 kB / 487.8 MB, free: 8.305 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.734e-05/0.00816, allocations: 125.8 kB / 487.9 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.533e-05/0.008245, allocations: 108.2 kB / 488 MB, free: 8.203 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.008648, allocations: 355.6 kB / 488.4 MB, free: 8.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.008651, allocations: 4.719 kB / 488.4 MB, free: 8.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.008652, allocations: 0 / 488.4 MB, free: 8.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.008659, allocations: 0 / 488.4 MB, free: 8.07 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006287/0.009288, allocations: 0.6219 MB / 489 MB, free: 7.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.009323, allocations: 11.59 kB / 489 MB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005355/0.009859, allocations: 148.6 kB / 489.2 MB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.01008, allocations: 224.7 kB / 489.4 MB, free: 7.316 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.0101, allocations: 14.09 kB / 489.4 MB, free: 7.312 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.013e-05/0.01018, allocations: 42.5 kB / 489.4 MB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.01052, allocations: 397.9 kB / 489.8 MB, free: 7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.01053, allocations: 192 / 489.8 MB, free: 7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.01055, allocations: 12.19 kB / 489.8 MB, free: 6.992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.927e-05/0.01063, allocations: 37.66 kB / 489.9 MB, free: 6.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.01082, allocations: 130.6 kB / 490 MB, free: 6.977 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.01214, allocations: 1.77 MB / 491.8 MB, free: 21.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.01231, allocations: 135.8 kB / 491.9 MB, free: 21.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.01237, allocations: 57.42 kB / 492 MB, free: 21.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.01239, allocations: 3.969 kB / 492 MB, free: 21.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.0124, allocations: 35.52 kB / 492 MB, free: 21.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.472e-06/0.01241, allocations: 1.781 kB / 492 MB, free: 21.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007214/0.01313, allocations: 493.5 kB / 492.5 MB, free: 21.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.711e-05/0.01314, allocations: 53.62 kB / 492.5 MB, free: 21.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.01332, allocations: 283.8 kB / 492.8 MB, free: 20.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.01334, allocations: 30.83 kB / 492.8 MB, free: 20.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.722e-05/0.01343, allocations: 245.4 kB / 493.1 MB, free: 20.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.01347, allocations: 93.48 kB / 493.2 MB, free: 20.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.331e-05/0.01355, allocations: 89.16 kB / 493.3 MB, free: 20.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.01368, allocations: 0.5044 MB / 493.8 MB, free: 19.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-05/0.01375, allocations: 49.55 kB / 493.8 MB, free: 19.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.01386, allocations: 166.7 kB / 494 MB, free: 19.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.01404, allocations: 237.5 kB / 494.2 MB, free: 19.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01405, allocations: 1.406 kB / 494.2 MB, free: 19.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004973/0.01454, allocations: 363.9 kB / 494.6 MB, free: 19.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.01456, allocations: 6.969 kB / 494.6 MB, free: 19.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.01456, allocations: 10.41 kB / 494.6 MB, free: 19.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005209/0.01509, allocations: 179.6 kB / 494.8 MB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.01524, allocations: 62.41 kB / 494.8 MB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.01665, allocations: 2.133 MB / 497 MB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.0168, allocations: 19.2 kB / 497 MB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.01682, allocations: 13.38 kB / 497 MB, free: 17.53 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.326e-05/0.01691, allocations: 172.7 kB / 497.2 MB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.01695, allocations: 32.42 kB / 497.2 MB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.01714, allocations: 187.9 kB / 497.4 MB, free: 17.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01715, allocations: 6.281 kB / 497.4 MB, free: 17.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.01715, allocations: 0 / 497.4 MB, free: 17.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01715, allocations: 1.062 kB / 497.4 MB, free: 17.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.01759, allocations: 0.5089 MB / 497.9 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.0176, allocations: 1.344 kB / 497.9 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.01778, allocations: 70.38 kB / 498 MB, free: 16.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01779, allocations: 2.5 kB / 498 MB, free: 16.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.0178, allocations: 6.438 kB / 498 MB, free: 16.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.0178, allocations: 1.906 kB / 498 MB, free: 16.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.0178, allocations: 3 kB / 498 MB, free: 16.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.01809, allocations: 396.8 kB / 498.4 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.01815, allocations: 45.27 kB / 498.4 MB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.01817, allocations: 4.125 kB / 498.4 MB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.617e-05/0.01827, allocations: 11.19 kB / 498.4 MB, free: 16.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.0183, allocations: 20.27 kB / 498.4 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.01831, allocations: 5.531 kB / 498.4 MB, free: 16.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001113/0.01842, allocations: 186.8 kB / 498.6 MB, free: 16.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01842, allocations: 1.5 kB / 498.6 MB, free: 16.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003141/0.01873, allocations: 92.58 kB / 498.7 MB, free: 16.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001583/0.01889, allocations: 109.2 kB / 498.8 MB, free: 16.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004993/0.01939, allocations: 415.1 kB / 499.2 MB, free: 16.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.01939, allocations: 4 kB / 499.2 MB, free: 16.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.082e-05/0.01947, allocations: 79.02 kB / 499.3 MB, free: 16.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.01977, allocations: 59.06 kB / 499.4 MB, free: 16.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.02085, allocations: 0.7036 MB / 0.4883 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.911e-05/0.02093, allocations: 114.7 kB / 0.4885 GB, free: 15.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.02104, allocations: 32.03 kB / 0.4885 GB, free: 15.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.02118, allocations: 112.2 kB / 0.4886 GB, free: 15.51 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02118, allocations: 1.125 kB / 0.4886 GB, free: 15.51 MB / 426.7 MB Notification: Performance of Templates: time 0.007317/0.0285, allocations: 4.444 MB / 0.4929 GB, free: 15.04 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6399547047913074]