Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.0008672/0.0008672, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001147/0.001147, allocations: 169 kB / 23.27 MB, free: 1.223 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.9191/0.9191, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.001658/0.001658, allocations: 248.2 kB / 260.5 MB, free: 12.67 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.7106/0.7106, allocations: 138.4 MB / 455.5 MB, free: 30.04 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 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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 3.984 kB / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.644e-05, allocations: 6.312 kB / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003514/0.00353, allocations: 3.064 MB / 0.5586 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.005169, allocations: 1.119 MB / 0.5597 GB, free: 11.64 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.005342, allocations: 27.75 kB / 0.5597 GB, free: 11.62 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000417/0.005759, allocations: 123 kB / 0.5598 GB, free: 11.5 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004012/0.00616, allocations: 246.4 kB / 0.5601 GB, free: 11.25 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.006514, allocations: 211.5 kB / 0.5603 GB, free: 11.05 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005553/0.007069, allocations: 0.6283 MB / 0.5609 GB, free: 10.42 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.007381, allocations: 231.4 kB / 0.5611 GB, free: 10.18 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004178/0.007799, allocations: 347.1 kB / 0.5614 GB, free: 9.844 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.008081, allocations: 223.3 kB / 0.5616 GB, free: 9.625 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.00812, allocations: 24 kB / 0.5617 GB, free: 9.602 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.008276, allocations: 99.73 kB / 0.5618 GB, free: 9.504 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.008386, allocations: 115.6 kB / 0.5619 GB, free: 9.391 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.008504, allocations: 143.6 kB / 0.562 GB, free: 9.25 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.008857, allocations: 362.6 kB / 0.5623 GB, free: 8.895 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.008859, allocations: 0 / 0.5623 GB, free: 8.895 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.008859, allocations: 0 / 0.5623 GB, free: 8.895 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.008863, allocations: 0 / 0.5623 GB, free: 8.895 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0006944/0.009558, allocations: 0.7408 MB / 0.5631 GB, free: 8.117 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.009591, allocations: 17.94 kB / 0.5631 GB, free: 8.102 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004843/0.01008, allocations: 156.3 kB / 0.5632 GB, free: 7.949 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.01047, allocations: 346.9 kB / 0.5636 GB, free: 7.582 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.01049, allocations: 21.03 kB / 0.5636 GB, free: 7.562 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.01053, allocations: 32.36 kB / 0.5636 GB, free: 7.531 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.01097, allocations: 0.5246 MB / 0.5641 GB, free: 6.891 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.01098, allocations: 11.89 kB / 0.5641 GB, free: 6.879 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.01101, allocations: 12 kB / 0.5642 GB, free: 6.867 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-05/0.01106, allocations: 44.62 kB / 0.5642 GB, free: 6.824 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.01127, allocations: 156.2 kB / 0.5643 GB, free: 6.668 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.01303, allocations: 3.469 MB / 0.5677 GB, free: 3.062 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.01326, allocations: 175.1 kB / 0.5679 GB, free: 2.879 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.189e-05/0.01332, allocations: 63.59 kB / 0.568 GB, free: 2.812 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.01334, allocations: 7.938 kB / 0.568 GB, free: 2.805 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.01336, allocations: 37.39 kB / 0.568 GB, free: 2.758 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 1.322e-06/0.01336, allocations: 0 / 0.568 GB, free: 2.758 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005947/0.01395, allocations: 415.1 kB / 0.5684 GB, free: 2.336 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.01398, allocations: 59.64 kB / 0.5685 GB, free: 2.266 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.01414, allocations: 370.4 kB / 0.5688 GB, free: 1.887 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.01416, allocations: 33.7 kB / 0.5688 GB, free: 1.848 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.01428, allocations: 298.7 kB / 0.5691 GB, free: 1.551 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.01432, allocations: 103.1 kB / 0.5692 GB, free: 1.449 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.01439, allocations: 83.78 kB / 0.5693 GB, free: 1.359 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.01451, allocations: 0.5195 MB / 0.5698 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.053e-05/0.01456, allocations: 44.97 kB / 0.5699 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.01469, allocations: 262.5 kB / 0.5701 GB, free: 452 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.01491, allocations: 342.7 kB / 0.5704 GB, free: 20 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01491, allocations: 0 / 0.5704 GB, free: 20 kB / 490.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003611/0.01527, allocations: 382.2 kB / 0.5708 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.01528, allocations: 8 kB / 0.5708 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01529, allocations: 4 kB / 0.5708 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/0.01541, allocations: 75.61 kB / 0.5709 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.01556, allocations: 83.84 kB / 0.571 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.01557, allocations: 8 kB / 0.571 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.583e-05/0.01567, allocations: 15.98 kB / 0.571 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.01568, allocations: 12 kB / 0.571 GB, free: 15.41 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.591e-05/0.01578, allocations: 188.3 kB / 0.5712 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.01582, allocations: 43.77 kB / 0.5712 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.01609, allocations: 257.6 kB / 0.5715 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01609, allocations: 11.94 kB / 0.5715 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.0161, allocations: 4 kB / 0.5715 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.0161, allocations: 0 / 0.5715 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.01662, allocations: 0.6095 MB / 0.5721 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01663, allocations: 3.984 kB / 0.5721 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-05/0.01672, allocations: 43.92 kB / 0.5721 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.01683, allocations: 59.02 kB / 0.5722 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.01685, allocations: 4.094 kB / 0.5722 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.01685, allocations: 7.984 kB / 0.5722 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.01685, allocations: 4 kB / 0.5722 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.01716, allocations: 430.2 kB / 0.5726 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.01722, allocations: 63.66 kB / 0.5727 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.01725, allocations: 4 kB / 0.5727 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.01733, allocations: 8 kB / 0.5727 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.01737, allocations: 19.95 kB / 0.5727 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.01738, allocations: 8 kB / 0.5727 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.746e-05/0.01747, allocations: 235 kB / 0.5729 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01747, allocations: 0 / 0.5729 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002422/0.01772, allocations: 92 kB / 0.573 GB, free: 13.21 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.872e-05/0.0178, allocations: 103.2 kB / 0.5731 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.01807, allocations: 238.2 kB / 0.5733 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01807, allocations: 4.062 kB / 0.5733 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.01819, allocations: 120.2 kB / 0.5735 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.01856, allocations: 137.7 kB / 0.5736 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007773/0.01934, allocations: 0.6661 MB / 0.5742 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.277e-05/0.01941, allocations: 121.5 kB / 0.5744 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.01953, allocations: 43.34 kB / 0.5744 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.0197, allocations: 174.1 kB / 0.5746 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of SimCode: time 1.232e-06/0.0197, allocations: 0 / 0.5746 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.006389/0.02609, allocations: 5.167 MB / 0.5796 GB, free: 6.512 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3232590360566974]