Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009835/0.0009835, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001389/0.002373, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001071/0.001071, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001379/0.00245, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9015/0.9015, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08252/0.984, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002073, allocations: 238 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001557/0.003629, allocations: 475.6 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7066/0.7066, allocations: 138.7 MB / 384.3 MB, free: 360 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06582/0.7724, allocations: 42.41 MB / 426.7 MB, free: 5.82 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 428.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.375e-05, allocations: 2.312 kB / 428.1 MB, free: 4.484 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.002885/0.002909, allocations: 2.748 MB / 430.8 MB, free: 1.719 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.004828, allocations: 1.496 MB / 432.3 MB, free: 216 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.004954, allocations: 7.938 kB / 432.3 MB, free: 208 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.005294, allocations: 123.3 kB / 432.4 MB, free: 84 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2158/0.2211, allocations: 206.1 kB / 432.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.2217, allocations: 254.3 kB / 432.9 MB, free: 1.215 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005092/0.2222, allocations: 447.4 kB / 433.3 MB, free: 1.184 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.2225, allocations: 166 kB / 433.5 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.2228, allocations: 250.5 kB / 433.7 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.2231, allocations: 198.4 kB / 433.9 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.2232, allocations: 25.62 kB / 433.9 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.2235, allocations: 177.2 kB / 434.1 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.2236, allocations: 117.7 kB / 434.2 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.523e-05/0.2236, allocations: 80.38 kB / 434.3 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.224, allocations: 326.7 kB / 434.6 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.224, allocations: 2.688 kB / 434.6 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.224, allocations: 0 / 434.6 MB, free: 1.066 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.224, allocations: 1.531 kB / 434.6 MB, free: 1.066 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.0007353/0.2248, allocations: 0.5564 MB / 435.2 MB, free: 16.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.2248, allocations: 14.06 kB / 435.2 MB, free: 16.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006083/0.2254, allocations: 219.1 kB / 435.4 MB, free: 16.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.2257, allocations: 206.5 kB / 435.6 MB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2257, allocations: 15.78 kB / 435.6 MB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.414e-05/0.2258, allocations: 42.23 kB / 435.7 MB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.2261, allocations: 375.2 kB / 436 MB, free: 16.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2261, allocations: 2.688 kB / 436 MB, free: 16.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.2262, allocations: 18.38 kB / 436.1 MB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-05/0.2263, allocations: 37.38 kB / 436.1 MB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.2264, allocations: 109.9 kB / 436.2 MB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.2276, allocations: 1.294 MB / 437.5 MB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.2278, allocations: 165.7 kB / 437.7 MB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.957e-05/0.2279, allocations: 48.69 kB / 437.7 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.2279, allocations: 12.17 kB / 437.7 MB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.2279, allocations: 37.48 kB / 437.8 MB, free: 15.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.293e-06/0.2279, allocations: 1.312 kB / 437.8 MB, free: 15.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007502/0.2286, allocations: 447.9 kB / 438.2 MB, free: 15.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.2287, allocations: 53.25 kB / 438.2 MB, free: 15.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.2288, allocations: 222.7 kB / 438.5 MB, free: 14.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.2288, allocations: 31.42 kB / 438.5 MB, free: 14.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/0.2289, allocations: 187.4 kB / 438.7 MB, free: 14.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.2289, allocations: 87.36 kB / 438.8 MB, free: 14.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.98e-05/0.229, allocations: 72.56 kB / 438.8 MB, free: 14.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003244/0.2293, allocations: 332.7 kB / 439.2 MB, free: 14.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.689e-05/0.2294, allocations: 39.22 kB / 439.2 MB, free: 14.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.447e-05/0.2295, allocations: 136 kB / 439.3 MB, free: 14.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.2297, allocations: 212.7 kB / 439.5 MB, free: 14.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2297, allocations: 5.938 kB / 439.5 MB, free: 14.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000456/0.2302, allocations: 301.7 kB / 439.8 MB, free: 14.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2302, allocations: 5.75 kB / 439.8 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2302, allocations: 4.062 kB / 439.8 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006068/0.2308, allocations: 202.6 kB / 440 MB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.231, allocations: 69.05 kB / 440.1 MB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.2322, allocations: 1.565 MB / 441.7 MB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.2323, allocations: 16.25 kB / 441.7 MB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.2324, allocations: 12.52 kB / 441.7 MB, free: 12.92 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 8.858e-05/0.2324, allocations: 133.5 kB / 441.8 MB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.2325, allocations: 21.89 kB / 441.9 MB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.2327, allocations: 162.2 kB / 442 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2327, allocations: 2.125 kB / 442 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.2327, allocations: 2.094 kB / 442 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.2327, allocations: 1.359 kB / 442 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.2331, allocations: 448.5 kB / 442.5 MB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2331, allocations: 0.8594 kB / 442.5 MB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.2334, allocations: 107.3 kB / 442.6 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.2335, allocations: 34.16 kB / 442.6 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2335, allocations: 3 kB / 442.6 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.2335, allocations: 6.344 kB / 442.6 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.2335, allocations: 9.391 kB / 442.6 MB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2335, allocations: 1.156 kB / 442.6 MB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.2338, allocations: 346.8 kB / 443 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.2338, allocations: 11.56 kB / 443 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.442e-05/0.2339, allocations: 9.938 kB / 443 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.2339, allocations: 19.75 kB / 443 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.2339, allocations: 4.406 kB / 443 MB, free: 12.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.464e-05/0.234, allocations: 65.23 kB / 443.1 MB, free: 12.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.234, allocations: 1.125 kB / 443.1 MB, free: 12.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000252/0.2342, allocations: 87.09 kB / 443.1 MB, free: 12.28 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.0001235/0.2344, allocations: 96.08 kB / 443.2 MB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004037/0.2348, allocations: 344.2 kB / 443.6 MB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-05/0.2348, allocations: 11.25 kB / 443.6 MB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.638e-05/0.2349, allocations: 80.62 kB / 443.7 MB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.2352, allocations: 384.4 kB / 444 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.2378, allocations: 0.6285 MB / 444.7 MB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.434e-05/0.2378, allocations: 113.4 kB / 444.8 MB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.238, allocations: 35.2 kB / 444.8 MB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.2381, allocations: 97.25 kB / 444.9 MB, free: 11.28 MB / 426.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2381, allocations: 0 / 444.9 MB, free: 11.28 MB / 426.7 MB Notification: Performance of Templates: time 0.006381/0.2445, allocations: 4.578 MB / 449.5 MB, free: 9.863 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.456036695279181]