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.0008744/0.0008744, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001049/0.001049, allocations: 219.2 kB / 22.26 MB, free: 3.84 MB / 13.93 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.971/0.971, allocations: 230.6 MB / 256 MB, free: 9.797 MB / 202.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-531:190: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-531:198: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.7646/0.7646, allocations: 203.8 MB / 0.5042 GB, free: 10.77 MB / 410.7 MB " [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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009835/0.0009835, allocations: 75.58 kB / 0.7183 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4375, allocations: 102 MB / 0.8179 GB, free: 1.293 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1486/0.5861, allocations: 185.7 MB / 0.9992 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004613/0.5907, allocations: 4.494 MB / 1.004 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005408/0.5912, allocations: 27.75 kB / 1.004 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005837/0.5918, allocations: 254 kB / 1.004 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.5932, allocations: 0.7893 MB / 1.005 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.5958, allocations: 1.64 MB / 1.006 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001156/0.5969, allocations: 1.281 MB / 1.007 GB, free: 3.203 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004498/0.5974, allocations: 365.6 kB / 1.008 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.5987, allocations: 0.833 MB / 1.009 GB, free: 2 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003482/0.5991, allocations: 418.3 kB / 1.009 GB, free: 1.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.5991, allocations: 44 kB / 1.009 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.6011, allocations: 1.664 MB / 1.011 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.6013, allocations: 199.3 kB / 1.011 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.6015, allocations: 302.5 kB / 1.011 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.6031, allocations: 1.312 MB / 1.012 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.6031, allocations: 0 / 1.012 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6031, allocations: 0 / 1.012 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.6031, allocations: 0 / 1.012 GB, free: 14.07 MB / 0.7917 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.001182/0.6043, allocations: 0.976 MB / 1.013 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.6043, allocations: 12.03 kB / 1.013 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.972e-05/0.6044, allocations: 78.53 kB / 1.014 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.6054, allocations: 287.3 kB / 1.014 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.6059, allocations: 402.6 kB / 1.014 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.606, allocations: 36.94 kB / 1.014 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.606, allocations: 44 kB / 1.014 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/0.6067, allocations: 0.5468 MB / 1.015 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.6067, allocations: 8 kB / 1.015 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.6067, allocations: 23.88 kB / 1.015 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.6067, allocations: 12 kB / 1.015 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008086/0.6075, allocations: 451.6 kB / 1.015 GB, free: 11.11 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.6092, allocations: 2.078 MB / 1.017 GB, free: 8.902 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006332/0.6098, allocations: 402.4 kB / 1.018 GB, free: 8.5 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.6101, allocations: 208.7 kB / 1.018 GB, free: 8.293 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002874/0.6103, allocations: 95.91 kB / 1.018 GB, free: 8.199 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003719/0.6107, allocations: 288.6 kB / 1.018 GB, free: 7.906 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=37): time 2.344e-06/0.6107, allocations: 4 kB / 1.018 GB, free: 7.902 MB / 0.7917 GB Notification: Performance of matching and sorting (n=37): time 0.001024/0.6117, allocations: 0.6915 MB / 1.019 GB, free: 7.203 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.6118, allocations: 55.41 kB / 1.019 GB, free: 7.137 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003768/0.6122, allocations: 494.1 kB / 1.019 GB, free: 6.641 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.6122, allocations: 37.64 kB / 1.019 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.6123, allocations: 272.4 kB / 1.02 GB, free: 6.328 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.001e-05/0.6124, allocations: 130.9 kB / 1.02 GB, free: 6.199 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.6125, allocations: 90.08 kB / 1.02 GB, free: 6.105 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.6126, allocations: 366.8 kB / 1.02 GB, free: 5.738 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.6129, allocations: 196.8 kB / 1.02 GB, free: 5.547 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/0.6132, allocations: 319.7 kB / 1.021 GB, free: 5.199 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005819/0.6138, allocations: 0.535 MB / 1.021 GB, free: 4.613 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.6138, allocations: 3.938 kB / 1.021 GB, free: 4.609 MB / 0.7917 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007413/0.6145, allocations: 0.6522 MB / 1.022 GB, free: 3.938 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.6146, allocations: 63.41 kB / 1.022 GB, free: 3.863 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.6146, allocations: 4 kB / 1.022 GB, free: 3.859 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.6146, allocations: 4 kB / 1.022 GB, free: 3.855 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.6148, allocations: 104.2 kB / 1.022 GB, free: 3.754 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.6149, allocations: 4 kB / 1.022 GB, free: 3.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.6151, allocations: 83.56 kB / 1.022 GB, free: 3.668 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.6151, allocations: 20 kB / 1.022 GB, free: 3.648 MB / 0.7917 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.0001727/0.6153, allocations: 197.6 kB / 1.022 GB, free: 3.445 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.6154, allocations: 55.67 kB / 1.022 GB, free: 3.391 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006713/0.616, allocations: 0.533 MB / 1.023 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.616, allocations: 4 kB / 1.023 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.616, allocations: 0 / 1.023 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.6161, allocations: 3.984 kB / 1.023 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.6174, allocations: 1.325 MB / 1.024 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.6174, allocations: 8.031 kB / 1.024 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.6176, allocations: 79.88 kB / 1.024 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.6177, allocations: 4 kB / 1.024 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.6177, allocations: 12 kB / 1.024 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.6177, allocations: 7.938 kB / 1.024 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.6177, allocations: 4 kB / 1.024 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009705/0.6187, allocations: 0.9458 MB / 1.025 GB, free: 312 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.6188, allocations: 95.55 kB / 1.025 GB, free: 216 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.6188, allocations: 19.98 kB / 1.025 GB, free: 196 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.619, allocations: 31.97 kB / 1.025 GB, free: 164 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/0.6191, allocations: 55.86 kB / 1.026 GB, free: 108 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.6192, allocations: 19.94 kB / 1.026 GB, free: 88 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002671/0.6194, allocations: 338.8 kB / 1.026 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6194, allocations: 0 / 1.026 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004321/0.6199, allocations: 159.8 kB / 1.026 GB, free: 15.6 MB / 0.8073 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.001331/0.6212, allocations: 1.56 MB / 1.028 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007263/0.6219, allocations: 0.5725 MB / 1.028 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6219, allocations: 0 / 1.028 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.6223, allocations: 272.8 kB / 1.028 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008027/0.6231, allocations: 283.5 kB / 1.029 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005127/0.6282, allocations: 5.009 MB / 1.033 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.6285, allocations: 0.8703 MB / 1.034 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004273/0.629, allocations: 128.7 kB / 1.034 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.6292, allocations: 183.3 kB / 1.035 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of SimCode: time 1.703e-06/0.6292, allocations: 0 / 1.035 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0375/0.6667, allocations: 16.3 MB / 1.051 GB, free: 6.352 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/8.139, allocations: 6.609 kB / 1.051 GB, free: 6.348 MB / 0.823 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.10941973910667] Failed to read output from testmodel.py, exit status != 0: 8.227419150061905 8.242681789 7.637080536 Calling exit ...