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.0009385/0.0009385, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009497/0.0009497, allocations: 173 kB / 23.5 MB, free: 1.059 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.926/0.926, allocations: 177.1 MB / 203.8 MB, free: 5.301 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.001597/0.001597, allocations: 241.1 kB / 260.5 MB, free: 12.74 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.7021/0.7021, allocations: 138.4 MB / 455.4 MB, free: 29.87 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 1.383e-06/1.383e-06, allocations: 0 / 0.555 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.759e-05, allocations: 2.312 kB / 0.555 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.01066/0.01068, allocations: 3.789 MB / 0.5587 GB, free: 12.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.01328, allocations: 1.828 MB / 0.5605 GB, free: 10.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.01348, allocations: 27.75 kB / 0.5605 GB, free: 10.82 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007271/0.01421, allocations: 266.5 kB / 0.5608 GB, free: 10.55 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004928/0.0147, allocations: 318.1 kB / 0.5611 GB, free: 10.24 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.01508, allocations: 259.2 kB / 0.5613 GB, free: 9.988 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005472/0.01563, allocations: 0.6205 MB / 0.5619 GB, free: 9.367 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003416/0.01597, allocations: 231.3 kB / 0.5622 GB, free: 9.133 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003426/0.01939, allocations: 343.1 kB / 0.5625 GB, free: 8.797 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.01969, allocations: 207.3 kB / 0.5627 GB, free: 8.594 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.01974, allocations: 24 kB / 0.5627 GB, free: 8.57 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000334/0.02007, allocations: 247.3 kB / 0.5629 GB, free: 8.328 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.02021, allocations: 139.6 kB / 0.5631 GB, free: 8.191 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.02037, allocations: 143.6 kB / 0.5632 GB, free: 8.051 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005626/0.02093, allocations: 474.3 kB / 0.5637 GB, free: 7.586 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.02093, allocations: 0 / 0.5637 GB, free: 7.586 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.02093, allocations: 0 / 0.5637 GB, free: 7.586 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.02094, allocations: 0 / 0.5637 GB, free: 7.586 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.0009171/0.02186, allocations: 0.7603 MB / 0.5644 GB, free: 6.789 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.0219, allocations: 9.938 kB / 0.5644 GB, free: 6.781 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008741/0.02277, allocations: 192.2 kB / 0.5646 GB, free: 6.594 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004816/0.02325, allocations: 367.4 kB / 0.565 GB, free: 6.207 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.02327, allocations: 21.03 kB / 0.565 GB, free: 6.184 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.02331, allocations: 36.31 kB / 0.565 GB, free: 6.148 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.02374, allocations: 0.5442 MB / 0.5655 GB, free: 5.492 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.02376, allocations: 7.938 kB / 0.5655 GB, free: 5.484 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.02378, allocations: 15.98 kB / 0.5656 GB, free: 5.469 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.531e-05/0.02383, allocations: 40.62 kB / 0.5656 GB, free: 5.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.02407, allocations: 203.5 kB / 0.5658 GB, free: 5.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.02582, allocations: 3.539 MB / 0.5693 GB, free: 1.547 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.02612, allocations: 195.6 kB / 0.5694 GB, free: 1.344 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.64e-05/0.02622, allocations: 75.59 kB / 0.5695 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.02624, allocations: 7.984 kB / 0.5695 GB, free: 1.258 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.02626, allocations: 49.33 kB / 0.5696 GB, free: 1.199 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 1.363e-06/0.02626, allocations: 0 / 0.5696 GB, free: 1.199 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008194/0.02708, allocations: 0.4993 MB / 0.5701 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.0271, allocations: 55.64 kB / 0.5701 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.02731, allocations: 374.5 kB / 0.5705 GB, free: 240 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.02732, allocations: 29.7 kB / 0.5705 GB, free: 204 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.02744, allocations: 298.8 kB / 0.5708 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.02749, allocations: 99.2 kB / 0.5709 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.048e-05/0.02756, allocations: 87.77 kB / 0.571 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.02767, allocations: 0.5157 MB / 0.5715 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.491e-05/0.02776, allocations: 56.97 kB / 0.5715 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.02792, allocations: 274.5 kB / 0.5718 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.02819, allocations: 362.8 kB / 0.5721 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.02819, allocations: 0 / 0.5721 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004289/0.02862, allocations: 414.1 kB / 0.5725 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.02863, allocations: 8 kB / 0.5725 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.02864, allocations: 4 kB / 0.5725 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001588/0.0288, allocations: 75.62 kB / 0.5726 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.02897, allocations: 83.89 kB / 0.5727 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.02898, allocations: 15.92 kB / 0.5727 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.02909, allocations: 19.98 kB / 0.5727 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.02911, allocations: 16 kB / 0.5727 GB, free: 13.68 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.637e-05/0.02921, allocations: 188.3 kB / 0.5729 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.02925, allocations: 51.72 kB / 0.573 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.02959, allocations: 285.5 kB / 0.5732 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.0296, allocations: 4 kB / 0.5732 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.0296, allocations: 0 / 0.5732 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.02961, allocations: 3.984 kB / 0.5732 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006185/0.03022, allocations: 0.6781 MB / 0.5739 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.03023, allocations: 0 / 0.5739 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.03034, allocations: 51.89 kB / 0.5739 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.03045, allocations: 71.05 kB / 0.574 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.03046, allocations: 8 kB / 0.574 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.03046, allocations: 0 / 0.574 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.03047, allocations: 7.938 kB / 0.574 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005636/0.03103, allocations: 446.2 kB / 0.5745 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.199e-05/0.0311, allocations: 63.69 kB / 0.5745 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.03113, allocations: 11.98 kB / 0.5745 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/0.03123, allocations: 11.98 kB / 0.5745 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.03128, allocations: 23.95 kB / 0.5746 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.03129, allocations: 12 kB / 0.5746 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001197/0.03141, allocations: 243.1 kB / 0.5748 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.03141, allocations: 4 kB / 0.5748 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002452/0.03165, allocations: 88 kB / 0.5749 GB, free: 11.31 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.864e-05/0.03173, allocations: 107.1 kB / 0.575 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003382/0.03207, allocations: 262 kB / 0.5752 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.03207, allocations: 0 / 0.5752 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.0322, allocations: 128.3 kB / 0.5754 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.0326, allocations: 131.2 kB / 0.5755 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008054/0.03341, allocations: 0.6584 MB / 0.5761 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.575e-05/0.03347, allocations: 129.5 kB / 0.5763 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.03359, allocations: 67.28 kB / 0.5763 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.175e-05/0.03365, allocations: 32.44 kB / 0.5764 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.03365, allocations: 0 / 0.5764 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of Templates: time 0.006214/0.03987, allocations: 4.821 MB / 0.5811 GB, free: 5.059 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.542087497888133]