Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.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.001419/0.001419, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.00157/0.00157, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 0.9437/0.9437, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7952/0.7952, allocations: 154.6 MB / 414.8 MB, free: 0.5195 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.5208 GB, free: 1.895 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.662e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1276/0.1276, allocations: 145.2 MB / 0.6626 GB, free: 348 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00282/0.1304, allocations: 1.771 MB / 0.6643 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003907/0.1308, allocations: 27.75 kB / 0.6643 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.1312, allocations: 134.8 kB / 0.6645 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0009652/0.1321, allocations: 0.5126 MB / 0.665 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.1334, allocations: 0.6935 MB / 0.6656 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001444/0.1349, allocations: 1.265 MB / 0.6669 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006269/0.1355, allocations: 386 kB / 0.6672 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009865/0.1365, allocations: 0.6273 MB / 0.6679 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004536/0.1369, allocations: 350.9 kB / 0.6682 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.19e-05/0.137, allocations: 44 kB / 0.6682 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006274/0.1376, allocations: 327.1 kB / 0.6686 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.1378, allocations: 199.4 kB / 0.6687 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.138, allocations: 215.5 kB / 0.6689 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007358/0.1387, allocations: 0.6424 MB / 0.6696 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1387, allocations: 0 / 0.6696 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of FrontEnd: time 7.52e-07/0.1387, allocations: 0 / 0.6696 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.1387, allocations: 4 kB / 0.6696 GB, free: 9.164 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001054/0.1398, allocations: 0.9713 MB / 0.6705 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1398, allocations: 11.97 kB / 0.6705 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.1409, allocations: 383.5 kB / 0.6709 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.1413, allocations: 417.3 kB / 0.6713 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.1414, allocations: 37 kB / 0.6713 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.1414, allocations: 47.95 kB / 0.6714 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.1418, allocations: 401.4 kB / 0.6718 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1418, allocations: 0 / 0.6718 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.1419, allocations: 19.98 kB / 0.6718 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.1419, allocations: 12 kB / 0.6718 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1421, allocations: 138.8 kB / 0.6719 GB, free: 6.633 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.1436, allocations: 2.035 MB / 0.6739 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.1438, allocations: 151.1 kB / 0.6741 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.282e-05/0.1439, allocations: 71.62 kB / 0.6741 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/0.1441, allocations: 67 kB / 0.6742 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.1443, allocations: 160.6 kB / 0.6743 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=37): time 1.813e-06/0.1443, allocations: 0 / 0.6743 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37): time 0.0005024/0.1448, allocations: 311.2 kB / 0.6746 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.1448, allocations: 59.39 kB / 0.6747 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.1451, allocations: 410.4 kB / 0.6751 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.1451, allocations: 37.7 kB / 0.6751 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.1453, allocations: 331 kB / 0.6754 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.794e-05/0.1454, allocations: 138.9 kB / 0.6756 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.1455, allocations: 95.8 kB / 0.6757 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1456, allocations: 0.5312 MB / 0.6762 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.1457, allocations: 100.4 kB / 0.6763 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.1459, allocations: 384.7 kB / 0.6766 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.1462, allocations: 308.8 kB / 0.6769 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1462, allocations: 0 / 0.6769 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004339/0.1466, allocations: 447.7 kB / 0.6774 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/0.1467, allocations: 63.39 kB / 0.6774 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1467, allocations: 0 / 0.6774 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1467, allocations: 8 kB / 0.6774 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.1469, allocations: 95.83 kB / 0.6775 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.1469, allocations: 7.938 kB / 0.6775 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.1471, allocations: 64.08 kB / 0.6776 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.1472, allocations: 16 kB / 0.6776 GB, free: 436 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001409/0.1473, allocations: 192.4 kB / 0.6778 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.1474, allocations: 59.72 kB / 0.6779 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2834/0.4308, allocations: 277.8 kB / 0.6781 GB, free: 64.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.4308, allocations: 2.688 kB / 0.6781 GB, free: 64.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.4308, allocations: 0 / 0.6781 GB, free: 64.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4308, allocations: 6.469 kB / 0.6781 GB, free: 64.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008931/0.4317, allocations: 0.8384 MB / 0.6789 GB, free: 63.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.4317, allocations: 2.781 kB / 0.6789 GB, free: 63.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.4319, allocations: 68.05 kB / 0.679 GB, free: 63.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.4319, allocations: 9.594 kB / 0.679 GB, free: 63.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.4319, allocations: 8.531 kB / 0.679 GB, free: 63.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4319, allocations: 8.844 kB / 0.679 GB, free: 63.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4319, allocations: 3.906 kB / 0.679 GB, free: 63.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.4323, allocations: 0.5646 MB / 0.6796 GB, free: 63.33 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.871e-05/0.4324, allocations: 84.7 kB / 0.6797 GB, free: 63.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.4325, allocations: 17.48 kB / 0.6797 GB, free: 63.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.4326, allocations: 28.73 kB / 0.6797 GB, free: 63.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.4327, allocations: 49.58 kB / 0.6798 GB, free: 63.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.4327, allocations: 11.56 kB / 0.6798 GB, free: 63.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001048/0.4328, allocations: 257 kB / 0.68 GB, free: 63.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4328, allocations: 0 / 0.68 GB, free: 63.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004311/0.4333, allocations: 166.7 kB / 0.6802 GB, free: 63.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002512/0.4335, allocations: 152.1 kB / 0.6803 GB, free: 63.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003394/0.4338, allocations: 373.7 kB / 0.6807 GB, free: 62.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4338, allocations: 0 / 0.6807 GB, free: 62.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.434, allocations: 113.4 kB / 0.6808 GB, free: 62.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.4346, allocations: 219.9 kB / 0.681 GB, free: 62.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.4357, allocations: 0.9706 MB / 0.6819 GB, free: 62.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.393e-05/0.4358, allocations: 135.7 kB / 0.6821 GB, free: 62.28 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002118/0.436, allocations: 72.72 kB / 0.6821 GB, free: 62.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/0.4363, allocations: 242.6 kB / 0.6824 GB, free: 62.21 MB / 0.6355 GB Notification: Performance of SimCode: time 4.7e-07/0.4363, allocations: 1.125 kB / 0.6824 GB, free: 62.21 MB / 0.6355 GB Notification: Performance of Templates: time 0.01043/0.4467, allocations: 9.596 MB / 0.6917 GB, free: 61.7 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.396081760991365]