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.0009504/0.0009504, allocations: 77.97 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.0009766/0.0009766, 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.9742/0.9742, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.002699/0.002699, allocations: 238 kB / 261.3 MB, free: 12.64 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.7048/0.7048, allocations: 138.4 MB / 456.3 MB, free: 1.438 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.873e-06/1.873e-06, allocations: 0 / 0.5563 GB, free: 304 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.559e-05, allocations: 2.312 kB / 0.5563 GB, free: 300 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004156/0.004181, allocations: 2.121 MB / 0.5584 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007571/0.004938, allocations: 0.5256 MB / 0.5589 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.894e-05/0.005017, allocations: 0 / 0.5589 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006834/0.005701, allocations: 414.9 kB / 0.5593 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.005877, allocations: 99.5 kB / 0.5594 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.006064, allocations: 115.5 kB / 0.5595 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.006254, allocations: 199.4 kB / 0.5597 GB, free: 12.81 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.006487, allocations: 130.2 kB / 0.5598 GB, free: 12.68 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.006588, allocations: 111.8 kB / 0.5599 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.006757, allocations: 95.72 kB / 0.56 GB, free: 12.48 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.006776, allocations: 16 kB / 0.5601 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.006889, allocations: 83.73 kB / 0.5601 GB, free: 12.38 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.006941, allocations: 59.83 kB / 0.5602 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.006985, allocations: 47.91 kB / 0.5602 GB, free: 12.27 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.007164, allocations: 163.5 kB / 0.5604 GB, free: 12.11 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.007167, allocations: 0 / 0.5604 GB, free: 12.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.007167, allocations: 3.938 kB / 0.5604 GB, free: 12.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.007171, allocations: 0 / 0.5604 GB, free: 12.11 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.0003941/0.007565, allocations: 464.3 kB / 0.5608 GB, free: 11.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.007594, allocations: 8.75 kB / 0.5608 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.007847, allocations: 72.7 kB / 0.5609 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.008004, allocations: 164.3 kB / 0.5611 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.008016, allocations: 8.656 kB / 0.5611 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.008033, allocations: 16.38 kB / 0.5611 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.008198, allocations: 183.4 kB / 0.5613 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.008206, allocations: 4.125 kB / 0.5613 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.008218, allocations: 8.375 kB / 0.5613 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.008244, allocations: 24.2 kB / 0.5613 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.3e-05/0.008307, allocations: 52.73 kB / 0.5614 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005911/0.008898, allocations: 0.9911 MB / 0.5623 GB, free: 9.977 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.555e-05/0.008944, allocations: 35.05 kB / 0.5624 GB, free: 9.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.562e-05/0.008959, allocations: 15.77 kB / 0.5624 GB, free: 9.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.008967, allocations: 0 / 0.5624 GB, free: 9.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.008988, allocations: 45.33 kB / 0.5624 GB, free: 9.855 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.008989, allocations: 0 / 0.5624 GB, free: 9.855 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001085/0.009097, allocations: 49.64 kB / 0.5625 GB, free: 9.801 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.009119, allocations: 55.41 kB / 0.5625 GB, free: 9.734 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.009208, allocations: 205.8 kB / 0.5627 GB, free: 9.516 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.009218, allocations: 25.7 kB / 0.5627 GB, free: 9.484 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.009293, allocations: 194.3 kB / 0.5629 GB, free: 9.289 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.009304, allocations: 15.89 kB / 0.5629 GB, free: 9.273 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.009338, allocations: 39.31 kB / 0.563 GB, free: 9.227 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.009444, allocations: 0.4961 MB / 0.5635 GB, free: 8.719 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.00946, allocations: 11.69 kB / 0.5635 GB, free: 8.703 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.376e-05/0.009513, allocations: 116.5 kB / 0.5636 GB, free: 8.543 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.046e-05/0.009594, allocations: 124.4 kB / 0.5637 GB, free: 8.375 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.009595, allocations: 0 / 0.5637 GB, free: 8.375 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001066/0.009702, allocations: 117.4 kB / 0.5638 GB, free: 8.254 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.009712, allocations: 11.98 kB / 0.5638 GB, free: 8.242 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.009716, allocations: 0 / 0.5638 GB, free: 8.242 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.009725, allocations: 4.234 kB / 0.5638 GB, free: 8.238 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.236e-05/0.009788, allocations: 23.94 kB / 0.5639 GB, free: 8.215 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.009794, allocations: 7.984 kB / 0.5639 GB, free: 8.207 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/0.009832, allocations: 15.89 kB / 0.5639 GB, free: 8.191 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.009839, allocations: 12.25 kB / 0.5639 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.533e-05/0.009884, allocations: 134.9 kB / 0.564 GB, free: 8.043 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.49e-05/0.009939, allocations: 131.8 kB / 0.5641 GB, free: 7.871 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.027e-05/0.01001, allocations: 128.4 kB / 0.5643 GB, free: 7.699 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.61e-07/0.01001, allocations: 4 kB / 0.5643 GB, free: 7.695 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 9.975e-05/0.01011, allocations: 113.4 kB / 0.5644 GB, free: 7.578 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.721e-06/0.01012, allocations: 6.969 kB / 0.5644 GB, free: 7.574 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-06/0.01012, allocations: 4 kB / 0.5644 GB, free: 7.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-06/0.01012, allocations: 4 kB / 0.5644 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.078e-05/0.01016, allocations: 28.23 kB / 0.5644 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.01016, allocations: 12 kB / 0.5644 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.0102, allocations: 11.94 kB / 0.5644 GB, free: 7.516 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.0102, allocations: 4 kB / 0.5644 GB, free: 7.512 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 8.41e-05/0.01028, allocations: 280 kB / 0.5647 GB, free: 7.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.0103, allocations: 11.94 kB / 0.5647 GB, free: 7.219 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.99e-05/0.01032, allocations: 12.34 kB / 0.5647 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.01032, allocations: 0 / 0.5647 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.01033, allocations: 0 / 0.5647 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.01033, allocations: 0 / 0.5647 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.01055, allocations: 467.8 kB / 0.5652 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01055, allocations: 0 / 0.5652 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.01057, allocations: 7.984 kB / 0.5652 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01057, allocations: 7.938 kB / 0.5652 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-06/0.01058, allocations: 0 / 0.5652 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.01058, allocations: 0 / 0.5652 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.01058, allocations: 7.938 kB / 0.5652 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.687e-05/0.01065, allocations: 111.4 kB / 0.5653 GB, free: 6.531 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.01066, allocations: 11.95 kB / 0.5653 GB, free: 6.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.01067, allocations: 4.125 kB / 0.5653 GB, free: 6.516 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.513e-05/0.01069, allocations: 0 / 0.5653 GB, free: 6.516 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.0107, allocations: 19.86 kB / 0.5653 GB, free: 6.496 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.0107, allocations: 0 / 0.5653 GB, free: 6.496 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.622e-05/0.01075, allocations: 145.6 kB / 0.5655 GB, free: 6.355 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01075, allocations: 0 / 0.5655 GB, free: 6.355 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.01096, allocations: 59.78 kB / 0.5655 GB, free: 6.297 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 6.732e-05/0.01103, allocations: 95.23 kB / 0.5656 GB, free: 6.195 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.01114, allocations: 103.3 kB / 0.5657 GB, free: 6.086 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.01114, allocations: 0 / 0.5657 GB, free: 6.086 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.949e-05/0.01119, allocations: 15.67 kB / 0.5657 GB, free: 6.066 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.01137, allocations: 26.92 kB / 0.5658 GB, free: 6.043 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.01178, allocations: 275.5 kB / 0.566 GB, free: 5.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.945e-05/0.01182, allocations: 75.83 kB / 0.5661 GB, free: 5.637 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.566e-05/0.01186, allocations: 12.48 kB / 0.5661 GB, free: 5.625 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.01191, allocations: 82.19 kB / 0.5662 GB, free: 5.543 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01191, allocations: 4 kB / 0.5662 GB, free: 5.539 MB / 490.7 MB Notification: Performance of Templates: time 0.00223/0.01414, allocations: 0.8558 MB / 0.567 GB, free: 4.703 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.56437826808542]