Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.0008923/0.0008923, allocations: 81.86 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.001418/0.001418, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9371/0.9371, allocations: 177.2 MB / 203.7 MB, free: 5.465 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.001655/0.001655, allocations: 237.5 kB / 260.5 MB, free: 12.63 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.7253/0.7253, allocations: 138.4 MB / 455.5 MB, free: 30.06 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.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.758e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.002992/0.003019, allocations: 2.473 MB / 0.558 GB, free: 13.37 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.004522, allocations: 1.25 MB / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.004627, allocations: 7.938 kB / 0.5592 GB, free: 12.1 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.004989, allocations: 91.52 kB / 0.5593 GB, free: 12.01 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.005282, allocations: 190.9 kB / 0.5595 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.005579, allocations: 159.6 kB / 0.5597 GB, free: 11.67 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000264/0.005843, allocations: 326.8 kB / 0.56 GB, free: 11.35 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.006069, allocations: 173.8 kB / 0.5601 GB, free: 11.17 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.006281, allocations: 195.5 kB / 0.5603 GB, free: 10.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.006498, allocations: 159.6 kB / 0.5605 GB, free: 10.82 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.006525, allocations: 20 kB / 0.5605 GB, free: 10.8 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.00671, allocations: 155.6 kB / 0.5606 GB, free: 10.65 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.177e-05/0.006792, allocations: 115.7 kB / 0.5607 GB, free: 10.54 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.457e-05/0.006857, allocations: 87.77 kB / 0.5608 GB, free: 10.45 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.007148, allocations: 295 kB / 0.5611 GB, free: 10.16 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.00715, allocations: 0 / 0.5611 GB, free: 10.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.007152, allocations: 7.938 kB / 0.5611 GB, free: 10.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.007158, allocations: 0 / 0.5611 GB, free: 10.16 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005507/0.007708, allocations: 0.574 MB / 0.5617 GB, free: 9.547 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.007741, allocations: 12.75 kB / 0.5617 GB, free: 9.535 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003906/0.008131, allocations: 112.6 kB / 0.5618 GB, free: 9.426 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.008341, allocations: 197 kB / 0.562 GB, free: 9.207 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.00836, allocations: 16.88 kB / 0.562 GB, free: 9.191 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.008418, allocations: 24.52 kB / 0.562 GB, free: 9.168 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.008672, allocations: 299 kB / 0.5623 GB, free: 8.836 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.008682, allocations: 192 / 0.5623 GB, free: 8.836 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.008698, allocations: 12.12 kB / 0.5623 GB, free: 8.824 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.326e-05/0.008752, allocations: 32.48 kB / 0.5624 GB, free: 8.793 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.008873, allocations: 95.34 kB / 0.5624 GB, free: 8.703 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007922/0.009666, allocations: 1.124 MB / 0.5635 GB, free: 7.531 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.00983, allocations: 119 kB / 0.5637 GB, free: 7.402 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.009873, allocations: 47.67 kB / 0.5637 GB, free: 7.352 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-05/0.00993, allocations: 15.97 kB / 0.5637 GB, free: 7.336 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.00995, allocations: 37.39 kB / 0.5638 GB, free: 7.289 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.009951, allocations: 0 / 0.5638 GB, free: 7.289 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004766/0.01043, allocations: 406.6 kB / 0.5641 GB, free: 6.859 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.01045, allocations: 51.41 kB / 0.5642 GB, free: 6.797 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.01056, allocations: 236.2 kB / 0.5644 GB, free: 6.551 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.01057, allocations: 25.7 kB / 0.5644 GB, free: 6.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.109e-05/0.01064, allocations: 211.2 kB / 0.5646 GB, free: 6.309 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.01068, allocations: 79.38 kB / 0.5647 GB, free: 6.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.01074, allocations: 63.31 kB / 0.5648 GB, free: 6.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.01085, allocations: 0.5001 MB / 0.5653 GB, free: 5.648 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/0.0109, allocations: 35.97 kB / 0.5653 GB, free: 5.613 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.846e-05/0.01097, allocations: 117.7 kB / 0.5654 GB, free: 5.469 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.01111, allocations: 159.8 kB / 0.5656 GB, free: 5.285 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01111, allocations: 4 kB / 0.5656 GB, free: 5.281 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003165/0.01143, allocations: 253.9 kB / 0.5658 GB, free: 5.023 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.01144, allocations: 8 kB / 0.5658 GB, free: 5.016 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01144, allocations: 0 / 0.5658 GB, free: 5.016 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003078/0.01175, allocations: 103.8 kB / 0.5659 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.01186, allocations: 47.92 kB / 0.566 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009698/0.01283, allocations: 1.886 MB / 0.5678 GB, free: 2.867 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.376e-05/0.01291, allocations: 8 kB / 0.5678 GB, free: 2.859 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.01292, allocations: 12 kB / 0.5678 GB, free: 2.848 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.751e-05/0.013, allocations: 176.5 kB / 0.568 GB, free: 2.664 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.01303, allocations: 27.83 kB / 0.568 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.01323, allocations: 167.4 kB / 0.5682 GB, free: 2.465 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.01323, allocations: 0 / 0.5682 GB, free: 2.465 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-07/0.01324, allocations: 3.938 kB / 0.5682 GB, free: 2.461 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.01324, allocations: 0 / 0.5682 GB, free: 2.461 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.0136, allocations: 477.1 kB / 0.5686 GB, free: 1.953 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.0136, allocations: 4.125 kB / 0.5686 GB, free: 1.949 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.01373, allocations: 51.97 kB / 0.5687 GB, free: 1.898 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.01374, allocations: 4 kB / 0.5687 GB, free: 1.895 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.01375, allocations: 3.984 kB / 0.5687 GB, free: 1.891 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.01375, allocations: 4 kB / 0.5687 GB, free: 1.887 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01375, allocations: 0 / 0.5687 GB, free: 1.887 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.01402, allocations: 358.5 kB / 0.569 GB, free: 1.512 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.01406, allocations: 27.88 kB / 0.5691 GB, free: 1.484 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.01408, allocations: 12.09 kB / 0.5691 GB, free: 1.473 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/0.01415, allocations: 8 kB / 0.5691 GB, free: 1.465 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.01417, allocations: 7.984 kB / 0.5691 GB, free: 1.457 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.01418, allocations: 15.97 kB / 0.5691 GB, free: 1.441 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.723e-05/0.01424, allocations: 168.6 kB / 0.5693 GB, free: 1.277 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01424, allocations: 0 / 0.5693 GB, free: 1.277 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002149/0.01445, allocations: 68 kB / 0.5693 GB, free: 1.211 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[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 (20): * Single equations (assignments): 20 * 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 9.173e-05/0.01454, allocations: 107.2 kB / 0.5694 GB, free: 1.098 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003087/0.01485, allocations: 340.7 kB / 0.5698 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01485, allocations: 0 / 0.5698 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.367e-05/0.01491, allocations: 63.59 kB / 0.5698 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.01513, allocations: 43 kB / 0.5699 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007465/0.01587, allocations: 0.5486 MB / 0.5704 GB, free: 56 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.526e-05/0.01594, allocations: 104.3 kB / 0.5705 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.468e-05/0.016, allocations: 25.89 kB / 0.5705 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.01623, allocations: 102.2 kB / 0.5706 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.01623, allocations: 0 / 0.5706 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.0043/0.02053, allocations: 2.975 MB / 0.5735 GB, free: 12.88 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4204944730736315]