Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 96.03 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 174.2 kB / 16.57 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6681/0.6681, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003698, allocations: 8 kB / 493 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1697, allocations: 77.16 MB / 0.5568 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002815/0.1726, allocations: 2.089 MB / 0.5589 GB, free: 9.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1739, allocations: 0.7209 MB / 0.5596 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.174, allocations: 8 kB / 0.5596 GB, free: 8.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.1741, allocations: 23.84 kB / 0.5596 GB, free: 8.816 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.1744, allocations: 59.81 kB / 0.5597 GB, free: 8.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.1747, allocations: 90.72 kB / 0.5598 GB, free: 8.672 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.1749, allocations: 99.8 kB / 0.5598 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.1751, allocations: 171.2 kB / 0.56 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/0.1752, allocations: 59.78 kB / 0.5601 GB, free: 8.324 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.1754, allocations: 63.75 kB / 0.5601 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1754, allocations: 8 kB / 0.5601 GB, free: 8.254 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.1755, allocations: 47.91 kB / 0.5602 GB, free: 8.207 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.626e-05/0.1756, allocations: 39.89 kB / 0.5602 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.1756, allocations: 53.64 kB / 0.5603 GB, free: 8.109 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.1758, allocations: 163.9 kB / 0.5604 GB, free: 7.949 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.1758, allocations: 3.938 kB / 0.5604 GB, free: 7.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1758, allocations: 0 / 0.5604 GB, free: 7.945 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1759, allocations: 0 / 0.5604 GB, free: 7.945 MB / 430.1 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.0005106/0.1764, allocations: 419.2 kB / 0.5608 GB, free: 7.484 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1764, allocations: 16 kB / 0.5608 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003859/0.1768, allocations: 43.78 kB / 0.5609 GB, free: 7.426 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.177, allocations: 214.8 kB / 0.5611 GB, free: 7.176 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1771, allocations: 16.27 kB / 0.5611 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.1771, allocations: 12 kB / 0.5611 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.1774, allocations: 223.6 kB / 0.5613 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1774, allocations: 3.953 kB / 0.5613 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.1775, allocations: 7.938 kB / 0.5613 GB, free: 6.898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.1775, allocations: 16.27 kB / 0.5614 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.1777, allocations: 148.7 kB / 0.5615 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009872/0.1787, allocations: 1.134 MB / 0.5626 GB, free: 5.473 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.065e-05/0.1788, allocations: 42.55 kB / 0.5626 GB, free: 5.422 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.1788, allocations: 0 / 0.5626 GB, free: 5.422 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.1788, allocations: 38.56 kB / 0.5627 GB, free: 5.375 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.936e-06/0.1788, allocations: 0 / 0.5627 GB, free: 5.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001805/0.179, allocations: 73.61 kB / 0.5628 GB, free: 5.297 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.1791, allocations: 51.41 kB / 0.5628 GB, free: 5.234 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1792, allocations: 173.3 kB / 0.563 GB, free: 5.055 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1792, allocations: 29.7 kB / 0.563 GB, free: 5.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.1793, allocations: 143.4 kB / 0.5631 GB, free: 4.875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.1793, allocations: 19.73 kB / 0.5632 GB, free: 4.855 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.1793, allocations: 4 kB / 0.5632 GB, free: 4.852 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1794, allocations: 322.8 kB / 0.5635 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-05/0.1795, allocations: 19.98 kB / 0.5635 GB, free: 4.508 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/0.1796, allocations: 100.7 kB / 0.5636 GB, free: 4.379 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.176e-05/0.1796, allocations: 28 kB / 0.5636 GB, free: 4.352 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1796, allocations: 0 / 0.5636 GB, free: 4.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001768/0.1798, allocations: 133.3 kB / 0.5637 GB, free: 4.215 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004536/0.1803, allocations: 0.968 MB / 0.5647 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1803, allocations: 0 / 0.5647 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.1803, allocations: 4 kB / 0.5647 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.1805, allocations: 27.92 kB / 0.5647 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1805, allocations: 4 kB / 0.5647 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.1807, allocations: 11.84 kB / 0.5647 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.1807, allocations: 12 kB / 0.5647 GB, free: 3.113 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.1807, allocations: 4 kB / 0.5647 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001538/0.1809, allocations: 99.73 kB / 0.5648 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1809, allocations: 4 kB / 0.5648 GB, free: 3.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.1809, allocations: 7.953 kB / 0.5648 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.864e-05/0.181, allocations: 23.88 kB / 0.5649 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.181, allocations: 7.984 kB / 0.5649 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.032e-05/0.1811, allocations: 15.84 kB / 0.5649 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1811, allocations: 8 kB / 0.5649 GB, free: 2.945 MB / 430.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.1812, allocations: 213.3 kB / 0.5651 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.1813, allocations: 7.906 kB / 0.5651 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.1813, allocations: 16.94 kB / 0.5651 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1813, allocations: 3.953 kB / 0.5651 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1813, allocations: 0 / 0.5651 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1813, allocations: 0 / 0.5651 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.1817, allocations: 477.1 kB / 0.5656 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1817, allocations: 288 / 0.5656 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.181e-05/0.1818, allocations: 7.938 kB / 0.5656 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.1818, allocations: 8 kB / 0.5656 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1818, allocations: 0 / 0.5656 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1818, allocations: 0 / 0.5656 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1818, allocations: 4 kB / 0.5656 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.1819, allocations: 156.8 kB / 0.5658 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.182, allocations: 89.02 kB / 0.5658 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.182, allocations: 0 / 0.5658 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.457e-05/0.1821, allocations: 4 kB / 0.5658 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.1821, allocations: 11.94 kB / 0.5659 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.1821, allocations: 7.938 kB / 0.5659 GB, free: 1.812 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.597e-05/0.1822, allocations: 125.8 kB / 0.566 GB, free: 1.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1822, allocations: 0 / 0.566 GB, free: 1.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004237/0.1826, allocations: 59.69 kB / 0.566 GB, free: 1.633 MB / 430.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001223/0.1828, allocations: 95.94 kB / 0.5661 GB, free: 1.527 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.1831, allocations: 112.1 kB / 0.5662 GB, free: 1.418 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1831, allocations: 0 / 0.5662 GB, free: 1.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.614e-05/0.1831, allocations: 15.92 kB / 0.5663 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.1834, allocations: 23.98 kB / 0.5663 GB, free: 1.379 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.1838, allocations: 313.9 kB / 0.5666 GB, free: 1.035 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.1841, allocations: 0.7319 MB / 0.5673 GB, free: 284 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.877e-05/0.1842, allocations: 28.41 kB / 0.5673 GB, free: 256 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.1842, allocations: 15.44 kB / 0.5673 GB, free: 244 kB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1842, allocations: 0 / 0.5673 GB, free: 244 kB / 430.1 MB Notification: Performance of Templates: time 0.003539/0.1878, allocations: 0.7774 MB / 0.5681 GB, free: 15.46 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)