Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001009/0.001009, allocations: 77.09 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.001059/0.001059, 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.9852/0.9852, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8298/0.8298, allocations: 154.9 MB / 415.9 MB, free: 276 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5219 GB, free: 1.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.794e-05, allocations: 7.406 kB / 0.5219 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1404/0.1404, allocations: 145.2 MB / 0.6637 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00246/0.1429, allocations: 1.771 MB / 0.6654 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003077/0.1432, allocations: 27.75 kB / 0.6655 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.1435, allocations: 138.8 kB / 0.6656 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0008282/0.1444, allocations: 0.5009 MB / 0.6661 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.1454, allocations: 0.7091 MB / 0.6668 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009178/0.1464, allocations: 1.242 MB / 0.668 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003977/0.1468, allocations: 390 kB / 0.6684 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006078/0.1474, allocations: 0.6273 MB / 0.669 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.1477, allocations: 350.9 kB / 0.6693 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.728e-05/0.1478, allocations: 48 kB / 0.6694 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000707/0.1485, allocations: 323.2 kB / 0.6697 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.1486, allocations: 203.4 kB / 0.6699 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.1488, allocations: 211.5 kB / 0.6701 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006061/0.1494, allocations: 0.6385 MB / 0.6707 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1494, allocations: 3.938 kB / 0.6707 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1494, allocations: 0 / 0.6707 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.1494, allocations: 0 / 0.6707 GB, free: 8.801 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.0009413/0.1503, allocations: 0.9752 MB / 0.6716 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1504, allocations: 12.03 kB / 0.6717 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.1514, allocations: 383.5 kB / 0.672 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.1518, allocations: 413.3 kB / 0.6724 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.1519, allocations: 36.98 kB / 0.6725 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.1519, allocations: 43.98 kB / 0.6725 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.1524, allocations: 401.4 kB / 0.6729 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1524, allocations: 3.938 kB / 0.6729 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.1524, allocations: 16 kB / 0.6729 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1524, allocations: 12 kB / 0.6729 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.1526, allocations: 146.8 kB / 0.673 GB, free: 6.262 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.001453/0.1541, allocations: 2.035 MB / 0.675 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.1543, allocations: 153.7 kB / 0.6752 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.517e-05/0.1544, allocations: 75.62 kB / 0.6753 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.1546, allocations: 51.95 kB / 0.6753 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.1548, allocations: 161.4 kB / 0.6755 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=37): time 1.783e-06/0.1548, allocations: 0 / 0.6755 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37): time 0.0005327/0.1554, allocations: 318.7 kB / 0.6758 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.1554, allocations: 55.41 kB / 0.6758 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.1556, allocations: 414.4 kB / 0.6762 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.1557, allocations: 33.7 kB / 0.6762 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/0.1561, allocations: 331 kB / 0.6766 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.672e-05/0.1562, allocations: 134.9 kB / 0.6767 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1563, allocations: 99.8 kB / 0.6768 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1564, allocations: 0.5351 MB / 0.6773 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.1565, allocations: 104.4 kB / 0.6774 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.1567, allocations: 375.1 kB / 0.6778 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.157, allocations: 312 kB / 0.6781 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.157, allocations: 4 kB / 0.6781 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000408/0.1574, allocations: 440.2 kB / 0.6785 GB, free: 336 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.1574, allocations: 67.34 kB / 0.6785 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1574, allocations: 4 kB / 0.6785 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1575, allocations: 4 kB / 0.6786 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.1577, allocations: 92.27 kB / 0.6786 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1577, allocations: 11.94 kB / 0.6787 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.1579, allocations: 55.7 kB / 0.6787 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.1579, allocations: 23.98 kB / 0.6787 GB, free: 64 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.2594/0.4173, allocations: 188.8 kB / 0.6789 GB, free: 63.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.4174, allocations: 58.25 kB / 0.679 GB, free: 63.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.4178, allocations: 278 kB / 0.6792 GB, free: 63.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.4178, allocations: 5.812 kB / 0.6792 GB, free: 63.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.4178, allocations: 0.8438 kB / 0.6792 GB, free: 63.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4178, allocations: 6.375 kB / 0.6792 GB, free: 63.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008915/0.4187, allocations: 0.8308 MB / 0.6801 GB, free: 62.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4187, allocations: 6.094 kB / 0.6801 GB, free: 62.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.4189, allocations: 71.91 kB / 0.6801 GB, free: 62.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.4189, allocations: 3.375 kB / 0.6801 GB, free: 62.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.419, allocations: 14.31 kB / 0.6801 GB, free: 62.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.419, allocations: 8.547 kB / 0.6802 GB, free: 62.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.419, allocations: 8.469 kB / 0.6802 GB, free: 62.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.4194, allocations: 0.5672 MB / 0.6807 GB, free: 62.54 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.4195, allocations: 79.56 kB / 0.6808 GB, free: 62.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.4195, allocations: 12.89 kB / 0.6808 GB, free: 62.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.4197, allocations: 28.39 kB / 0.6808 GB, free: 62.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.51e-05/0.4198, allocations: 48.16 kB / 0.6809 GB, free: 62.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.4198, allocations: 15.86 kB / 0.6809 GB, free: 62.53 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001129/0.4199, allocations: 254.1 kB / 0.6811 GB, free: 62.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4199, allocations: 0 / 0.6811 GB, free: 62.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004134/0.4204, allocations: 166.7 kB / 0.6813 GB, free: 62.41 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.0002102/0.4206, allocations: 146.4 kB / 0.6814 GB, free: 62.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.4209, allocations: 374.5 kB / 0.6818 GB, free: 62.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4209, allocations: 2.594 kB / 0.6818 GB, free: 62.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.421, allocations: 115.3 kB / 0.6819 GB, free: 62.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006431/0.4217, allocations: 226.4 kB / 0.6821 GB, free: 62.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.4229, allocations: 0.9636 MB / 0.6831 GB, free: 61.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.329e-05/0.423, allocations: 136.3 kB / 0.6832 GB, free: 61.46 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002331/0.4232, allocations: 75.91 kB / 0.6833 GB, free: 61.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.4235, allocations: 237.6 kB / 0.6835 GB, free: 61.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/0.4235, allocations: 0 / 0.6835 GB, free: 61.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.01185/0.4354, allocations: 9.777 MB / 0.693 GB, free: 60.82 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.640258268918842]