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.001677/0.001677, allocations: 100.1 kB / 15.88 MB, free: 12 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.002098/0.002098, allocations: 205.4 kB / 16.79 MB, free: 6.84 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.421/1.421, allocations: 222.9 MB / 240.5 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7195/0.7195, allocations: 122.9 MB / 413.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 60.41 kB / 0.4904 GB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1597, allocations: 77.93 MB / 0.5665 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004584/0.1643, allocations: 2.546 MB / 0.569 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1657, allocations: 0.7752 MB / 0.5698 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.204e-05/0.1658, allocations: 4 kB / 0.5698 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.1672, allocations: 0.5025 MB / 0.5703 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.1674, allocations: 107.6 kB / 0.5704 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.1678, allocations: 95.83 kB / 0.5704 GB, free: 12.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003946/0.1682, allocations: 295.2 kB / 0.5707 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003643/0.1686, allocations: 110.4 kB / 0.5708 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1687, allocations: 67.77 kB / 0.5709 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.169, allocations: 99.66 kB / 0.571 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.169, allocations: 11.94 kB / 0.571 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.1693, allocations: 143.7 kB / 0.5711 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.013e-05/0.1694, allocations: 51.89 kB / 0.5712 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.517e-05/0.1695, allocations: 75.66 kB / 0.5713 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.1698, allocations: 223.2 kB / 0.5715 GB, free: 11.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.1698, allocations: 4 kB / 0.5715 GB, free: 11.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1698, allocations: 0 / 0.5715 GB, free: 11.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1699, allocations: 4 kB / 0.5715 GB, free: 11.61 MB / 446.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.0008573/0.1707, allocations: 443.2 kB / 0.5719 GB, free: 11.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.1708, allocations: 8.031 kB / 0.5719 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/0.1713, allocations: 44.7 kB / 0.572 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.1716, allocations: 220.1 kB / 0.5722 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1716, allocations: 8.656 kB / 0.5722 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.1716, allocations: 16.38 kB / 0.5722 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.172, allocations: 223.2 kB / 0.5724 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1721, allocations: 0 / 0.5724 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.1721, allocations: 11.98 kB / 0.5724 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/0.1721, allocations: 20.27 kB / 0.5724 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.1724, allocations: 144.7 kB / 0.5726 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.1737, allocations: 1.13 MB / 0.5737 GB, free: 9.121 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.114e-05/0.1738, allocations: 46.5 kB / 0.5737 GB, free: 9.066 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.1739, allocations: 20.94 kB / 0.5737 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.1739, allocations: 0 / 0.5737 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.1739, allocations: 38.55 kB / 0.5738 GB, free: 8.996 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1739, allocations: 0 / 0.5738 GB, free: 8.996 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002474/0.1742, allocations: 77.44 kB / 0.5738 GB, free: 8.914 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.1742, allocations: 63.33 kB / 0.5739 GB, free: 8.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.1744, allocations: 169.7 kB / 0.5741 GB, free: 8.668 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1744, allocations: 25.7 kB / 0.5741 GB, free: 8.637 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1746, allocations: 147.3 kB / 0.5742 GB, free: 8.488 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.1746, allocations: 11.81 kB / 0.5742 GB, free: 8.477 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.1746, allocations: 29.7 kB / 0.5743 GB, free: 8.441 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1748, allocations: 330.8 kB / 0.5746 GB, free: 8.109 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.128e-05/0.1749, allocations: 24.84 kB / 0.5746 GB, free: 8.082 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.175, allocations: 81.44 kB / 0.5747 GB, free: 7.969 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.1751, allocations: 125.3 kB / 0.5748 GB, free: 7.812 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1751, allocations: 0 / 0.5748 GB, free: 7.812 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002074/0.1754, allocations: 137.2 kB / 0.5749 GB, free: 7.672 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1754, allocations: 8.312 kB / 0.575 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.1754, allocations: 4 kB / 0.575 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1754, allocations: 11.88 kB / 0.575 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1755, allocations: 27.92 kB / 0.575 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.1756, allocations: 4 kB / 0.575 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.1756, allocations: 15.84 kB / 0.575 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1757, allocations: 8 kB / 0.575 GB, free: 7.594 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001157/0.1758, allocations: 120.1 kB / 0.5751 GB, free: 7.473 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.755e-05/0.1759, allocations: 97.36 kB / 0.5752 GB, free: 7.344 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001325/0.176, allocations: 113.3 kB / 0.5753 GB, free: 7.199 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.176, allocations: 4 kB / 0.5753 GB, free: 7.195 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.000195/0.1762, allocations: 137.3 kB / 0.5755 GB, free: 7.055 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1762, allocations: 4 kB / 0.5755 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1763, allocations: 4 kB / 0.5755 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.538e-06/0.1763, allocations: 4 kB / 0.5755 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/0.1763, allocations: 23.98 kB / 0.5755 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1764, allocations: 7.875 kB / 0.5755 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.524e-05/0.1764, allocations: 19.84 kB / 0.5755 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1764, allocations: 8.312 kB / 0.5755 GB, free: 6.984 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.1766, allocations: 188.3 kB / 0.5757 GB, free: 6.793 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.1766, allocations: 7.906 kB / 0.5757 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.1767, allocations: 16.92 kB / 0.5757 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.1767, allocations: 3.938 kB / 0.5757 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1767, allocations: 0 / 0.5757 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1767, allocations: 0 / 0.5757 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.1772, allocations: 473.1 kB / 0.5762 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1772, allocations: 4 kB / 0.5762 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.1772, allocations: 4 kB / 0.5762 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1772, allocations: 0 / 0.5762 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.1772, allocations: 4 kB / 0.5762 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1773, allocations: 3.938 kB / 0.5762 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1773, allocations: 3.938 kB / 0.5762 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.1774, allocations: 119.8 kB / 0.5763 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.1775, allocations: 97.05 kB / 0.5764 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.1775, allocations: 3.984 kB / 0.5764 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.401e-05/0.1776, allocations: 3.938 kB / 0.5764 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.1776, allocations: 8 kB / 0.5764 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.1776, allocations: 0 / 0.5764 GB, free: 5.938 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.1777, allocations: 132.9 kB / 0.5766 GB, free: 5.809 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1777, allocations: 0 / 0.5766 GB, free: 5.809 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.1781, allocations: 51.84 kB / 0.5766 GB, free: 5.758 MB / 446.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 (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.0001351/0.1782, allocations: 103.1 kB / 0.5767 GB, free: 5.645 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1785, allocations: 108.3 kB / 0.5768 GB, free: 5.539 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1785, allocations: 0 / 0.5768 GB, free: 5.539 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.238e-05/0.1785, allocations: 23.92 kB / 0.5768 GB, free: 5.516 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.1788, allocations: 19.98 kB / 0.5769 GB, free: 5.496 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.1793, allocations: 327.5 kB / 0.5772 GB, free: 5.148 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.1797, allocations: 0.728 MB / 0.5779 GB, free: 4.395 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.92e-05/0.1798, allocations: 28.39 kB / 0.5779 GB, free: 4.367 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.1798, allocations: 15.44 kB / 0.5779 GB, free: 4.352 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1798, allocations: 4 kB / 0.5779 GB, free: 4.348 MB / 446.1 MB Notification: Performance of Templates: time 0.003366/0.1832, allocations: 0.8116 MB / 0.5787 GB, free: 3.543 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)