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.0008848/0.0008848, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.0009011/0.0009011, allocations: 169 kB / 23.02 MB, free: 1.547 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.887/0.887, allocations: 177.1 MB / 203.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001588/0.001588, allocations: 238.9 kB / 260.2 MB, free: 12.8 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.663/0.663, allocations: 138.4 MB / 455.2 MB, free: 1.52 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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 2.094e-06/2.094e-06, allocations: 0 / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.178e-05/3.387e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004143/0.004177, allocations: 2.666 MB / 0.5577 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.006025, allocations: 1.477 MB / 0.5592 GB, free: 12.33 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.006145, allocations: 7.938 kB / 0.5592 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.006582, allocations: 103.4 kB / 0.5593 GB, free: 12.22 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.006913, allocations: 198.9 kB / 0.5595 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.007367, allocations: 259.2 kB / 0.5597 GB, free: 11.77 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003679/0.007735, allocations: 430.6 kB / 0.5601 GB, free: 11.35 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.008003, allocations: 164.2 kB / 0.5603 GB, free: 11.2 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.008274, allocations: 227.5 kB / 0.5605 GB, free: 10.97 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.008538, allocations: 191.5 kB / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.00857, allocations: 24 kB / 0.5607 GB, free: 10.76 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.00881, allocations: 167.6 kB / 0.5609 GB, free: 10.6 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.008912, allocations: 131.6 kB / 0.561 GB, free: 10.47 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.343e-05/0.008995, allocations: 103.8 kB / 0.5611 GB, free: 10.37 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003932/0.009388, allocations: 354.8 kB / 0.5614 GB, free: 10.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.009394, allocations: 4 kB / 0.5614 GB, free: 10.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.009395, allocations: 0 / 0.5614 GB, free: 10.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.0094, allocations: 0 / 0.5614 GB, free: 10.02 MB / 490.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.0007/0.0101, allocations: 0.6205 MB / 0.562 GB, free: 9.359 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.01014, allocations: 8.75 kB / 0.5621 GB, free: 9.352 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006064/0.01075, allocations: 160.5 kB / 0.5622 GB, free: 9.195 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.011, allocations: 228.8 kB / 0.5624 GB, free: 8.941 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.01102, allocations: 16.88 kB / 0.5624 GB, free: 8.922 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.642e-05/0.01111, allocations: 36.69 kB / 0.5625 GB, free: 8.887 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.01153, allocations: 421.3 kB / 0.5629 GB, free: 8.406 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.01154, allocations: 4.125 kB / 0.5629 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.01157, allocations: 19.92 kB / 0.5629 GB, free: 8.383 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.858e-05/0.01165, allocations: 40.47 kB / 0.5629 GB, free: 8.344 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.01188, allocations: 154.8 kB / 0.5631 GB, free: 8.188 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.01326, allocations: 1.837 MB / 0.5649 GB, free: 6.277 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.01348, allocations: 158.9 kB / 0.565 GB, free: 6.109 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.186e-05/0.01356, allocations: 63.67 kB / 0.5651 GB, free: 6.043 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.01358, allocations: 4 kB / 0.5651 GB, free: 6.039 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.01361, allocations: 41.38 kB / 0.5651 GB, free: 5.988 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 2.014e-06/0.01361, allocations: 3.938 kB / 0.5651 GB, free: 5.984 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009499/0.01456, allocations: 0.5557 MB / 0.5657 GB, free: 5.395 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.01459, allocations: 63.27 kB / 0.5657 GB, free: 5.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.01478, allocations: 289.6 kB / 0.566 GB, free: 5.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.0148, allocations: 29.7 kB / 0.566 GB, free: 4.984 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.01491, allocations: 243 kB / 0.5663 GB, free: 4.742 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/0.01496, allocations: 95.22 kB / 0.5664 GB, free: 4.648 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.8e-05/0.01505, allocations: 79.34 kB / 0.5664 GB, free: 4.562 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.01517, allocations: 0.5079 MB / 0.5669 GB, free: 4.043 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.01527, allocations: 59.95 kB / 0.567 GB, free: 3.984 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.01541, allocations: 178.2 kB / 0.5672 GB, free: 3.766 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.01566, allocations: 258 kB / 0.5674 GB, free: 3.469 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01567, allocations: 0 / 0.5674 GB, free: 3.469 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005783/0.01624, allocations: 397.7 kB / 0.5678 GB, free: 3.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.01626, allocations: 4 kB / 0.5678 GB, free: 3.066 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.01627, allocations: 4 kB / 0.5678 GB, free: 3.062 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005822/0.01685, allocations: 191.5 kB / 0.568 GB, free: 2.871 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.01704, allocations: 63.91 kB / 0.568 GB, free: 2.809 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.01856, allocations: 2.194 MB / 0.5702 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.01874, allocations: 15.98 kB / 0.5702 GB, free: 488 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.01876, allocations: 16 kB / 0.5702 GB, free: 472 kB / 490.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 0.0001183/0.01888, allocations: 180.5 kB / 0.5704 GB, free: 280 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.01893, allocations: 27.86 kB / 0.5704 GB, free: 252 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.01919, allocations: 209 kB / 0.5706 GB, free: 36 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01919, allocations: 0 / 0.5706 GB, free: 36 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.0192, allocations: 3.938 kB / 0.5706 GB, free: 32 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.0192, allocations: 4 kB / 0.5706 GB, free: 28 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005623/0.01976, allocations: 0.5708 MB / 0.5712 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01976, allocations: 0 / 0.5712 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.01996, allocations: 72 kB / 0.5712 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.01997, allocations: 4 kB / 0.5713 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.01999, allocations: 11.94 kB / 0.5713 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.01999, allocations: 4 kB / 0.5713 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.02, allocations: 3.938 kB / 0.5713 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.02034, allocations: 417.2 kB / 0.5717 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/0.02041, allocations: 55.75 kB / 0.5717 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.02044, allocations: 8 kB / 0.5717 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.02054, allocations: 11.98 kB / 0.5717 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.02058, allocations: 19.97 kB / 0.5718 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.02059, allocations: 8 kB / 0.5718 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001131/0.0207, allocations: 198.2 kB / 0.572 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.0207, allocations: 0 / 0.572 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000286/0.02099, allocations: 88 kB / 0.572 GB, free: 14.5 MB / 0.4948 GB 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.0001363/0.02112, allocations: 115.2 kB / 0.5722 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005198/0.02164, allocations: 449.2 kB / 0.5726 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.02164, allocations: 4 kB / 0.5726 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.446e-05/0.02173, allocations: 75.59 kB / 0.5727 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.02202, allocations: 58.52 kB / 0.5727 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.02315, allocations: 0.7009 MB / 0.5734 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.995e-05/0.02322, allocations: 112.3 kB / 0.5735 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.02334, allocations: 58.22 kB / 0.5736 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.331e-05/0.0234, allocations: 32.5 kB / 0.5736 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of SimCode: time 1.313e-06/0.02341, allocations: 0 / 0.5736 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.005985/0.02939, allocations: 4.377 MB / 0.5779 GB, free: 8.504 MB / 0.4948 GB " [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.479604087769985]