Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.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.001341/0.001341, allocations: 88.72 kB / 19.44 MB, free: 328 kB / 13.93 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.001499/0.001499, allocations: 161.7 kB / 22.76 MB, free: 1.652 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 1.436/1.436, allocations: 177.1 MB / 203.1 MB, free: 5.27 MB / 186.7 MB " [Timeout remaining time 178] 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.002625/0.002625, allocations: 242.6 kB / 259.8 MB, free: 12.73 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 1.066/1.066, allocations: 138.4 MB / 454.7 MB, free: 1.461 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.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.5543 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.35e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.006562/0.006596, allocations: 2.476 MB / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.008776, allocations: 0.7594 MB / 0.5575 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.008916, allocations: 4 kB / 0.5575 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.01087, allocations: 0.5374 MB / 0.558 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004773/0.01135, allocations: 103.5 kB / 0.5581 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.01183, allocations: 119.5 kB / 0.5582 GB, free: 12.85 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004643/0.0123, allocations: 195.4 kB / 0.5584 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/0.01273, allocations: 130.2 kB / 0.5585 GB, free: 12.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.01298, allocations: 115.7 kB / 0.5586 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.01329, allocations: 91.8 kB / 0.5587 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.382e-05/0.01334, allocations: 12 kB / 0.5587 GB, free: 12.31 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.01361, allocations: 99.64 kB / 0.5588 GB, free: 12.21 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.01373, allocations: 59.81 kB / 0.5589 GB, free: 12.15 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.01384, allocations: 43.92 kB / 0.5589 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005202/0.01436, allocations: 235.2 kB / 0.5591 GB, free: 11.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01436, allocations: 0 / 0.5591 GB, free: 11.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01436, allocations: 0 / 0.5591 GB, free: 11.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.01437, allocations: 0 / 0.5591 GB, free: 11.88 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009284/0.0153, allocations: 369.9 kB / 0.5595 GB, free: 11.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.01535, allocations: 12.75 kB / 0.5595 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006549/0.016, allocations: 76.73 kB / 0.5596 GB, free: 11.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.01637, allocations: 165.5 kB / 0.5597 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.01639, allocations: 8.656 kB / 0.5597 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.01643, allocations: 12.38 kB / 0.5598 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005911/0.01702, allocations: 257.1 kB / 0.56 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.01704, allocations: 192 / 0.56 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.01707, allocations: 8.375 kB / 0.56 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.422e-05/0.01713, allocations: 28.14 kB / 0.56 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003831/0.01751, allocations: 144.7 kB / 0.5602 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.01894, allocations: 0.7781 MB / 0.5609 GB, free: 9.906 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.01906, allocations: 42.5 kB / 0.561 GB, free: 9.855 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.01912, allocations: 16.94 kB / 0.561 GB, free: 9.836 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.01913, allocations: 0 / 0.561 GB, free: 9.836 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.01917, allocations: 34.56 kB / 0.561 GB, free: 9.793 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.01917, allocations: 0 / 0.561 GB, free: 9.793 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002918/0.01946, allocations: 77.61 kB / 0.5611 GB, free: 9.711 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.01952, allocations: 59.41 kB / 0.5612 GB, free: 9.641 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.01973, allocations: 151.9 kB / 0.5613 GB, free: 9.484 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.01976, allocations: 29.7 kB / 0.5613 GB, free: 9.449 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.01992, allocations: 143.6 kB / 0.5615 GB, free: 9.305 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.01994, allocations: 11.91 kB / 0.5615 GB, free: 9.293 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.698e-05/0.02003, allocations: 37.66 kB / 0.5615 GB, free: 9.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002364/0.02027, allocations: 326.8 kB / 0.5618 GB, free: 8.922 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.332e-05/0.02034, allocations: 20.86 kB / 0.5618 GB, free: 8.898 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.02068, allocations: 97.42 kB / 0.5619 GB, free: 8.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.02093, allocations: 121.3 kB / 0.5621 GB, free: 8.617 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.02093, allocations: 3.938 kB / 0.5621 GB, free: 8.613 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000345/0.02128, allocations: 137.4 kB / 0.5622 GB, free: 8.473 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.0213, allocations: 8 kB / 0.5622 GB, free: 8.465 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.02131, allocations: 7.938 kB / 0.5622 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.02134, allocations: 4 kB / 0.5622 GB, free: 8.453 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.02149, allocations: 23.98 kB / 0.5622 GB, free: 8.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.02151, allocations: 7.984 kB / 0.5622 GB, free: 8.422 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.02162, allocations: 11.89 kB / 0.5623 GB, free: 8.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.02165, allocations: 16.25 kB / 0.5623 GB, free: 8.395 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001795/0.02183, allocations: 128 kB / 0.5624 GB, free: 8.266 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001107/0.02194, allocations: 93.25 kB / 0.5625 GB, free: 8.145 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001682/0.0221, allocations: 125.3 kB / 0.5626 GB, free: 7.988 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.02211, allocations: 0 / 0.5626 GB, free: 7.988 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002321/0.02234, allocations: 133.4 kB / 0.5627 GB, free: 7.852 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.707e-06/0.02235, allocations: 8 kB / 0.5627 GB, free: 7.844 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.02235, allocations: 4 kB / 0.5627 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.583e-06/0.02236, allocations: 4 kB / 0.5627 GB, free: 7.836 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.02245, allocations: 28.23 kB / 0.5628 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.02245, allocations: 8 kB / 0.5628 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.265e-05/0.02251, allocations: 4 kB / 0.5628 GB, free: 7.797 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.02252, allocations: 8 kB / 0.5628 GB, free: 7.789 MB / 490.7 MB 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 (14): * Single equations (assignments): 14 * 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 prepare postOptimizeDAE: time 0.0001553/0.02268, allocations: 196.1 kB / 0.563 GB, free: 7.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.02271, allocations: 11.91 kB / 0.563 GB, free: 7.578 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.02275, allocations: 8.344 kB / 0.563 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.02275, allocations: 4 kB / 0.563 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.02275, allocations: 0 / 0.563 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.02276, allocations: 3.984 kB / 0.563 GB, free: 7.559 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.02325, allocations: 408.8 kB / 0.5634 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.02326, allocations: 0 / 0.5634 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.02329, allocations: 8 kB / 0.5634 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.02329, allocations: 0 / 0.5634 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.0233, allocations: 4 kB / 0.5634 GB, free: 7.098 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.02331, allocations: 3.938 kB / 0.5634 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.02331, allocations: 3.984 kB / 0.5634 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.02347, allocations: 111.6 kB / 0.5635 GB, free: 6.953 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.0235, allocations: 8.281 kB / 0.5635 GB, free: 6.945 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.02352, allocations: 8.109 kB / 0.5635 GB, free: 6.938 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.214e-05/0.02357, allocations: 7.938 kB / 0.5635 GB, free: 6.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.02359, allocations: 0 / 0.5635 GB, free: 6.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.0236, allocations: 11.98 kB / 0.5635 GB, free: 6.918 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001/0.0237, allocations: 110.7 kB / 0.5637 GB, free: 6.812 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0237, allocations: 0 / 0.5637 GB, free: 6.812 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000375/0.02408, allocations: 59.78 kB / 0.5637 GB, free: 6.754 MB / 490.7 MB 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 (4): * Single equations (assignments): 4 * 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.0001182/0.02419, allocations: 95.25 kB / 0.5638 GB, free: 6.652 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.02442, allocations: 107.8 kB / 0.5639 GB, free: 6.547 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02442, allocations: 0 / 0.5639 GB, free: 6.547 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.02445, allocations: 19.88 kB / 0.5639 GB, free: 6.527 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.02473, allocations: 21.42 kB / 0.5639 GB, free: 6.508 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.02529, allocations: 276 kB / 0.5642 GB, free: 6.199 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.02542, allocations: 110.3 kB / 0.5643 GB, free: 6.074 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.551e-05/0.02551, allocations: 24.45 kB / 0.5643 GB, free: 6.051 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.02555, allocations: 16.5 kB / 0.5644 GB, free: 6.035 MB / 490.7 MB Notification: Performance of SimCode: time 8.41e-07/0.02555, allocations: 0 / 0.5644 GB, free: 6.035 MB / 490.7 MB Notification: Performance of Templates: time 0.003575/0.02913, allocations: 0.761 MB / 0.5651 GB, free: 5.297 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.35242917702999]