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.0009802/0.0009802, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001017/0.001017, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9561/0.9561, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.001757/0.001757, allocations: 247.2 kB / 261.3 MB, free: 12.66 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.7148/0.7148, allocations: 138.5 MB / 456.3 MB, free: 1.41 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.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.353e-06/1.353e-06, allocations: 3.938 kB / 0.5564 GB, free: 256 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.471e-05, allocations: 2.312 kB / 0.5564 GB, free: 252 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003499/0.003524, allocations: 2.475 MB / 0.5588 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.005305, allocations: 1.246 MB / 0.56 GB, free: 12.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.00543, allocations: 7.938 kB / 0.56 GB, free: 12.49 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.005871, allocations: 99.44 kB / 0.5601 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.00625, allocations: 183 kB / 0.5603 GB, free: 12.21 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.006622, allocations: 167.5 kB / 0.5604 GB, free: 12.05 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003284/0.00695, allocations: 326.9 kB / 0.5607 GB, free: 11.73 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.007192, allocations: 177 kB / 0.5609 GB, free: 11.55 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.007429, allocations: 199.5 kB / 0.5611 GB, free: 11.36 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.007666, allocations: 151.6 kB / 0.5613 GB, free: 11.21 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.007694, allocations: 20 kB / 0.5613 GB, free: 11.19 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.007902, allocations: 159.6 kB / 0.5614 GB, free: 11.03 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.986e-05/0.007992, allocations: 115.7 kB / 0.5615 GB, free: 10.92 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.008058, allocations: 83.83 kB / 0.5616 GB, free: 10.84 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.008371, allocations: 295 kB / 0.5619 GB, free: 10.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.008374, allocations: 8 kB / 0.5619 GB, free: 10.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.008375, allocations: 0 / 0.5619 GB, free: 10.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.00838, allocations: 0 / 0.5619 GB, free: 10.54 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.0005655/0.008945, allocations: 0.5701 MB / 0.5625 GB, free: 9.934 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.008979, allocations: 8.75 kB / 0.5625 GB, free: 9.926 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004368/0.009416, allocations: 120.5 kB / 0.5626 GB, free: 9.809 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.009626, allocations: 200.1 kB / 0.5628 GB, free: 9.586 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.009641, allocations: 20.86 kB / 0.5628 GB, free: 9.566 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/0.009709, allocations: 20.56 kB / 0.5628 GB, free: 9.547 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.01001, allocations: 291.1 kB / 0.5631 GB, free: 9.219 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.01002, allocations: 4.125 kB / 0.5631 GB, free: 9.215 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.01005, allocations: 12.12 kB / 0.5631 GB, free: 9.203 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-05/0.01014, allocations: 32.47 kB / 0.5631 GB, free: 9.172 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.01031, allocations: 99.34 kB / 0.5632 GB, free: 9.078 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009689/0.01127, allocations: 1.12 MB / 0.5643 GB, free: 7.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.01148, allocations: 127 kB / 0.5644 GB, free: 7.773 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.01153, allocations: 43.97 kB / 0.5645 GB, free: 7.727 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.578e-05/0.0116, allocations: 11.91 kB / 0.5645 GB, free: 7.715 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.01163, allocations: 33.39 kB / 0.5645 GB, free: 7.672 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.01163, allocations: 0 / 0.5645 GB, free: 7.672 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005833/0.01221, allocations: 400 kB / 0.5649 GB, free: 7.246 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.01224, allocations: 55.41 kB / 0.565 GB, free: 7.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.01236, allocations: 238.4 kB / 0.5652 GB, free: 6.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.01237, allocations: 29.7 kB / 0.5652 GB, free: 6.895 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.01246, allocations: 215.2 kB / 0.5654 GB, free: 6.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.0125, allocations: 75.41 kB / 0.5655 GB, free: 6.605 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.01256, allocations: 67.22 kB / 0.5656 GB, free: 6.531 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.01268, allocations: 0.5001 MB / 0.5661 GB, free: 6.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.196e-05/0.01273, allocations: 35.97 kB / 0.5661 GB, free: 5.984 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.177e-05/0.01282, allocations: 105.8 kB / 0.5662 GB, free: 5.852 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.01296, allocations: 165 kB / 0.5663 GB, free: 5.664 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01296, allocations: 0 / 0.5663 GB, free: 5.664 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003512/0.01331, allocations: 253 kB / 0.5666 GB, free: 5.406 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.01333, allocations: 4 kB / 0.5666 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.01333, allocations: 7.984 kB / 0.5666 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003389/0.01367, allocations: 99.59 kB / 0.5667 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.01385, allocations: 51.91 kB / 0.5667 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.01493, allocations: 1.886 MB / 0.5686 GB, free: 3.246 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.494e-05/0.01502, allocations: 11.98 kB / 0.5686 GB, free: 3.234 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.01503, allocations: 8 kB / 0.5686 GB, free: 3.227 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 9.79e-05/0.01513, allocations: 168.5 kB / 0.5688 GB, free: 3.051 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.01517, allocations: 27.84 kB / 0.5688 GB, free: 3.023 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.01538, allocations: 170.2 kB / 0.5689 GB, free: 2.848 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01538, allocations: 4 kB / 0.569 GB, free: 2.844 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.01539, allocations: 0 / 0.569 GB, free: 2.844 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.01539, allocations: 3.984 kB / 0.569 GB, free: 2.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.01581, allocations: 468.6 kB / 0.5694 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.01581, allocations: 7.938 kB / 0.5694 GB, free: 2.336 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.01596, allocations: 51.91 kB / 0.5695 GB, free: 2.285 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.01596, allocations: 0 / 0.5695 GB, free: 2.285 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.01598, allocations: 12.06 kB / 0.5695 GB, free: 2.273 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.01598, allocations: 0 / 0.5695 GB, free: 2.273 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.01598, allocations: 4 kB / 0.5695 GB, free: 2.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.01624, allocations: 354.8 kB / 0.5698 GB, free: 1.895 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.01629, allocations: 31.88 kB / 0.5698 GB, free: 1.863 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.01631, allocations: 11.98 kB / 0.5699 GB, free: 1.852 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.01639, allocations: 7.938 kB / 0.5699 GB, free: 1.844 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.01641, allocations: 15.97 kB / 0.5699 GB, free: 1.828 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.01642, allocations: 0 / 0.5699 GB, free: 1.828 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.629e-05/0.01648, allocations: 171.4 kB / 0.57 GB, free: 1.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01648, allocations: 4.031 kB / 0.57 GB, free: 1.656 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002442/0.01673, allocations: 64 kB / 0.5701 GB, free: 1.594 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 0.0001185/0.01685, allocations: 107.2 kB / 0.5702 GB, free: 1.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.01721, allocations: 345.1 kB / 0.5705 GB, free: 1.121 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01721, allocations: 384 / 0.5705 GB, free: 1.121 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.097e-05/0.01727, allocations: 59.59 kB / 0.5706 GB, free: 1.059 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.01753, allocations: 38.55 kB / 0.5706 GB, free: 1.023 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008667/0.01839, allocations: 0.5409 MB / 0.5712 GB, free: 456 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.297e-05/0.01846, allocations: 108.3 kB / 0.5713 GB, free: 328 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.602e-05/0.01853, allocations: 17.95 kB / 0.5713 GB, free: 304 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.01864, allocations: 106.2 kB / 0.5714 GB, free: 196 kB / 490.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01864, allocations: 0 / 0.5714 GB, free: 196 kB / 490.7 MB Notification: Performance of Templates: time 0.004789/0.02343, allocations: 3.047 MB / 0.5744 GB, free: 13.18 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.4694145820103586]