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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 113.1 kB / 17.33 MB, free: 5.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.373/1.373, allocations: 225.6 MB / 244.8 MB, free: 13.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7926/0.7926, allocations: 128.4 MB / 426.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 69.33 kB / 0.5911 GB, free: 21.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1594, allocations: 83.26 MB / 0.6724 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004204/0.1636, allocations: 2.532 MB / 0.6749 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1651, allocations: 0.7944 MB / 0.6757 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.1651, allocations: 4 kB / 0.6757 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.1664, allocations: 0.5336 MB / 0.6762 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.1667, allocations: 103.5 kB / 0.6763 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.1671, allocations: 119.8 kB / 0.6764 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.1673, allocations: 191.4 kB / 0.6766 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004204/0.1678, allocations: 134.1 kB / 0.6767 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1679, allocations: 83.75 kB / 0.6768 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.1681, allocations: 103.6 kB / 0.6769 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.1681, allocations: 12 kB / 0.6769 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.1683, allocations: 111.7 kB / 0.677 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.1684, allocations: 51.89 kB / 0.6771 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.491e-05/0.1685, allocations: 79.61 kB / 0.6772 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.1688, allocations: 219.2 kB / 0.6774 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1688, allocations: 0 / 0.6774 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.532e-06/0.1688, allocations: 0 / 0.6774 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.1688, allocations: 0 / 0.6774 GB, free: 14.84 MB / 0.5137 GB 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.0006702/0.1695, allocations: 459 kB / 0.6778 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1695, allocations: 12.03 kB / 0.6778 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003523/0.1698, allocations: 44.8 kB / 0.6779 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.1701, allocations: 216.1 kB / 0.6781 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1701, allocations: 8.656 kB / 0.6781 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.1701, allocations: 12.38 kB / 0.6781 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.1705, allocations: 239.8 kB / 0.6783 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1705, allocations: 0 / 0.6783 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.1705, allocations: 8 kB / 0.6783 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.1706, allocations: 12.22 kB / 0.6783 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.1708, allocations: 148.7 kB / 0.6785 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.1721, allocations: 1.131 MB / 0.6796 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.575e-05/0.1722, allocations: 38.56 kB / 0.6796 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.1722, allocations: 24.94 kB / 0.6796 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.1722, allocations: 0 / 0.6796 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.1722, allocations: 34.55 kB / 0.6797 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.1722, allocations: 0 / 0.6797 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0002221/0.1725, allocations: 85.5 kB / 0.6798 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.1725, allocations: 51.41 kB / 0.6798 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1727, allocations: 169.1 kB / 0.68 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.1727, allocations: 29.7 kB / 0.68 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1728, allocations: 147.7 kB / 0.6801 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.872e-05/0.1729, allocations: 15.88 kB / 0.6802 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.1729, allocations: 29.67 kB / 0.6802 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1731, allocations: 322.8 kB / 0.6805 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.1731, allocations: 28.84 kB / 0.6805 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.555e-05/0.1732, allocations: 89.38 kB / 0.6806 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.1734, allocations: 125.3 kB / 0.6807 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.1734, allocations: 3.984 kB / 0.6807 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002217/0.1736, allocations: 133.4 kB / 0.6809 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.1736, allocations: 11.98 kB / 0.6809 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1736, allocations: 0 / 0.6809 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.1737, allocations: 7.938 kB / 0.6809 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.1738, allocations: 24 kB / 0.6809 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.1738, allocations: 11.92 kB / 0.6809 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.729e-05/0.1739, allocations: 19.84 kB / 0.6809 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.1739, allocations: 8.312 kB / 0.6809 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001259/0.174, allocations: 120.1 kB / 0.681 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.867e-05/0.1741, allocations: 91.86 kB / 0.6811 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001642/0.1743, allocations: 129.2 kB / 0.6813 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.1743, allocations: 0 / 0.6813 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002017/0.1745, allocations: 133.4 kB / 0.6814 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.1745, allocations: 4 kB / 0.6814 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1745, allocations: 4 kB / 0.6814 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1745, allocations: 4.312 kB / 0.6814 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.543e-05/0.1746, allocations: 31.92 kB / 0.6814 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1746, allocations: 3.938 kB / 0.6814 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.1747, allocations: 11.94 kB / 0.6814 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.1747, allocations: 8 kB / 0.6814 GB, free: 10.2 MB / 0.5137 GB 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.0001376/0.1748, allocations: 188.2 kB / 0.6816 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.1748, allocations: 11.91 kB / 0.6816 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.1749, allocations: 16.92 kB / 0.6817 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.1749, allocations: 3.938 kB / 0.6817 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1749, allocations: 0 / 0.6817 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1749, allocations: 4 kB / 0.6817 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005246/0.1754, allocations: 473.1 kB / 0.6821 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1754, allocations: 4 kB / 0.6821 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.1754, allocations: 4 kB / 0.6821 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1754, allocations: 4 kB / 0.6821 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1755, allocations: 4.125 kB / 0.6821 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.1755, allocations: 3.984 kB / 0.6821 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1755, allocations: 4 kB / 0.6821 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.1756, allocations: 111.8 kB / 0.6822 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/0.1757, allocations: 97.08 kB / 0.6823 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1757, allocations: 4 kB / 0.6823 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.583e-05/0.1758, allocations: 4 kB / 0.6823 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.1758, allocations: 4 kB / 0.6823 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-06/0.1758, allocations: 0 / 0.6823 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000116/0.1759, allocations: 128.2 kB / 0.6825 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1759, allocations: 0 / 0.6825 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003497/0.1762, allocations: 55.84 kB / 0.6825 GB, free: 8.98 MB / 0.5137 GB 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.000154/0.1764, allocations: 111.2 kB / 0.6826 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002778/0.1767, allocations: 103.6 kB / 0.6827 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1767, allocations: 0 / 0.6827 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.798e-05/0.1767, allocations: 25.12 kB / 0.6828 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.177, allocations: 21.42 kB / 0.6828 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.1775, allocations: 283.2 kB / 0.683 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.1779, allocations: 0.7202 MB / 0.6837 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.024e-05/0.1779, allocations: 28.62 kB / 0.6838 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.178, allocations: 11.44 kB / 0.6838 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.178, allocations: 0 / 0.6838 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of Templates: time 0.003635/0.1816, allocations: 0.889 MB / 0.6847 GB, free: 6.734 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (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) [Timeout 480]