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.0009369/0.0009369, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.000984/0.000984, allocations: 173 kB / 23.5 MB, free: 1.051 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.9132/0.9132, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.001679/0.001679, allocations: 230.1 kB / 260.5 MB, free: 12.88 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.718/0.718, allocations: 138.4 MB / 455.4 MB, free: 1.559 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 1.482e-06/1.482e-06, allocations: 0 / 0.555 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.317e-05, allocations: 5.266 kB / 0.555 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003489/0.003512, allocations: 3.344 MB / 0.5583 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.005782, allocations: 2.054 MB / 0.5603 GB, free: 11.46 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.005929, allocations: 7.938 kB / 0.5603 GB, free: 11.46 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000641/0.00657, allocations: 294.8 kB / 0.5606 GB, free: 11.17 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.006937, allocations: 250.5 kB / 0.5608 GB, free: 10.92 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.007365, allocations: 287.1 kB / 0.5611 GB, free: 10.64 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.007695, allocations: 414.6 kB / 0.5615 GB, free: 10.23 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.007962, allocations: 164.3 kB / 0.5617 GB, free: 10.08 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.008216, allocations: 235.4 kB / 0.5619 GB, free: 9.848 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.008471, allocations: 187.5 kB / 0.5621 GB, free: 9.664 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.008502, allocations: 24 kB / 0.5621 GB, free: 9.641 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004186/0.008921, allocations: 255.3 kB / 0.5623 GB, free: 9.391 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.009047, allocations: 123.7 kB / 0.5624 GB, free: 9.27 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.823e-05/0.009135, allocations: 103.7 kB / 0.5625 GB, free: 9.168 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.009525, allocations: 398.7 kB / 0.5629 GB, free: 8.777 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.009529, allocations: 4 kB / 0.5629 GB, free: 8.773 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00953, allocations: 0 / 0.5629 GB, free: 8.773 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.009534, allocations: 4 kB / 0.5629 GB, free: 8.77 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.0006856/0.01022, allocations: 0.6243 MB / 0.5635 GB, free: 8.109 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.01026, allocations: 12.75 kB / 0.5636 GB, free: 8.098 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008743/0.01113, allocations: 156.5 kB / 0.5637 GB, free: 7.945 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.01148, allocations: 228.8 kB / 0.5639 GB, free: 7.691 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.01151, allocations: 20.88 kB / 0.5639 GB, free: 7.668 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.01164, allocations: 44.61 kB / 0.564 GB, free: 7.625 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005745/0.01221, allocations: 417.3 kB / 0.5644 GB, free: 7.148 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.01223, allocations: 4.188 kB / 0.5644 GB, free: 7.145 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.01226, allocations: 11.94 kB / 0.5644 GB, free: 7.133 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.01238, allocations: 36.47 kB / 0.5644 GB, free: 7.098 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.01274, allocations: 162.8 kB / 0.5646 GB, free: 6.934 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.0142, allocations: 1.845 MB / 0.5664 GB, free: 5.016 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.01441, allocations: 150.9 kB / 0.5665 GB, free: 4.855 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.648e-05/0.0145, allocations: 67.66 kB / 0.5666 GB, free: 4.785 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.01451, allocations: 0 / 0.5666 GB, free: 4.785 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.01454, allocations: 41.39 kB / 0.5666 GB, free: 4.734 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 1.022e-06/0.01454, allocations: 0 / 0.5666 GB, free: 4.734 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009178/0.01546, allocations: 0.5557 MB / 0.5672 GB, free: 4.145 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.01548, allocations: 59.34 kB / 0.5672 GB, free: 4.074 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.01568, allocations: 297.6 kB / 0.5675 GB, free: 3.766 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.0157, allocations: 29.7 kB / 0.5676 GB, free: 3.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.787e-05/0.0158, allocations: 239 kB / 0.5678 GB, free: 3.492 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.01586, allocations: 91.22 kB / 0.5679 GB, free: 3.402 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.939e-05/0.01594, allocations: 83.33 kB / 0.5679 GB, free: 3.312 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.01606, allocations: 0.504 MB / 0.5684 GB, free: 2.797 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.01616, allocations: 59.97 kB / 0.5685 GB, free: 2.738 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.01631, allocations: 186.2 kB / 0.5687 GB, free: 2.512 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.01656, allocations: 262.1 kB / 0.5689 GB, free: 2.211 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01656, allocations: 0 / 0.5689 GB, free: 2.211 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008001/0.01736, allocations: 389.9 kB / 0.5693 GB, free: 1.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.01738, allocations: 12 kB / 0.5693 GB, free: 1.809 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01738, allocations: 7.938 kB / 0.5693 GB, free: 1.801 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/0.01796, allocations: 179.5 kB / 0.5695 GB, free: 1.621 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.01813, allocations: 63.89 kB / 0.5695 GB, free: 1.559 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.01972, allocations: 2.193 MB / 0.5717 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.01989, allocations: 23.97 kB / 0.5717 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.01991, allocations: 16 kB / 0.5717 GB, free: 15.21 MB / 0.4948 GB 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.504e-05/0.02, allocations: 168.5 kB / 0.5719 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.02005, allocations: 35.89 kB / 0.5719 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.0203, allocations: 209 kB / 0.5721 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.0203, allocations: 7.984 kB / 0.5721 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.02031, allocations: 3.938 kB / 0.5721 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.02031, allocations: 3.984 kB / 0.5721 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.02083, allocations: 0.5669 MB / 0.5727 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.02084, allocations: 4 kB / 0.5727 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.02104, allocations: 71.88 kB / 0.5728 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.02105, allocations: 4 kB / 0.5728 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.02106, allocations: 16 kB / 0.5728 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.02107, allocations: 4 kB / 0.5728 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02107, allocations: 0 / 0.5728 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.02141, allocations: 421.2 kB / 0.5732 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.02147, allocations: 51.77 kB / 0.5732 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.0215, allocations: 11.98 kB / 0.5732 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.02161, allocations: 7.984 kB / 0.5733 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.02164, allocations: 15.98 kB / 0.5733 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.02165, allocations: 7.984 kB / 0.5733 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001153/0.02176, allocations: 202.3 kB / 0.5735 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02176, allocations: 0 / 0.5735 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002644/0.02203, allocations: 95.92 kB / 0.5736 GB, free: 13.23 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.0001216/0.02215, allocations: 107.2 kB / 0.5737 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005076/0.02266, allocations: 437.3 kB / 0.5741 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02266, allocations: 3.938 kB / 0.5741 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.554e-05/0.02275, allocations: 90.14 kB / 0.5742 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.02304, allocations: 47.95 kB / 0.5742 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.02414, allocations: 0.709 MB / 0.5749 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.783e-05/0.02421, allocations: 112.3 kB / 0.575 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.02433, allocations: 62.2 kB / 0.5751 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.02439, allocations: 24.48 kB / 0.5751 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/0.02439, allocations: 0 / 0.5751 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.005694/0.03009, allocations: 4.235 MB / 0.5792 GB, free: 7.391 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.6111510139890015]