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.0009111/0.0009111, 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.001137/0.001137, allocations: 214.6 kB / 22.26 MB, free: 3.852 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.9262/0.9262, allocations: 230.6 MB / 256 MB, free: 3.461 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.7769/0.7769, allocations: 203.8 MB / 0.5042 GB, free: 0.7617 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.0009318/0.0009318, allocations: 67.91 kB / 0.7183 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4173, allocations: 102 MB / 0.8179 GB, free: 24.92 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1404/0.5577, allocations: 185.7 MB / 0.9992 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005042/0.5627, allocations: 4.496 MB / 1.004 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005784/0.5633, allocations: 27.75 kB / 1.004 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005895/0.5639, allocations: 258.1 kB / 1.004 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.5654, allocations: 0.7853 MB / 1.005 GB, free: 3.457 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.568, allocations: 1.633 MB / 1.006 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001184/0.5692, allocations: 1.281 MB / 1.007 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004362/0.5697, allocations: 365.6 kB / 1.008 GB, free: 180 kB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.5708, allocations: 0.8369 MB / 1.009 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/0.5712, allocations: 414.3 kB / 1.009 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 5.468e-05/0.5713, allocations: 44 kB / 1.009 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.5734, allocations: 1.668 MB / 1.011 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.5735, allocations: 199.3 kB / 1.011 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.5738, allocations: 310.5 kB / 1.011 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.5755, allocations: 1.308 MB / 1.012 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5755, allocations: 0 / 1.012 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5755, allocations: 0 / 1.012 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.5755, allocations: 0 / 1.012 GB, free: 11.4 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.001141/0.5766, allocations: 0.9721 MB / 1.013 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.5767, allocations: 13.47 kB / 1.013 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.234e-05/0.5767, allocations: 82.45 kB / 1.014 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.5778, allocations: 291.3 kB / 1.014 GB, free: 10 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005463/0.5784, allocations: 406.6 kB / 1.014 GB, free: 9.582 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.5784, allocations: 29 kB / 1.014 GB, free: 9.551 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.926e-05/0.5784, allocations: 47.98 kB / 1.014 GB, free: 9.504 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000652/0.5791, allocations: 0.5507 MB / 1.015 GB, free: 8.922 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.5791, allocations: 3.938 kB / 1.015 GB, free: 8.918 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.5791, allocations: 23.94 kB / 1.015 GB, free: 8.895 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.5792, allocations: 8 kB / 1.015 GB, free: 8.887 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006188/0.5798, allocations: 459.5 kB / 1.015 GB, free: 8.434 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.5816, allocations: 2.07 MB / 1.017 GB, free: 6.238 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007188/0.5823, allocations: 390.5 kB / 1.018 GB, free: 5.848 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.5826, allocations: 216.7 kB / 1.018 GB, free: 5.633 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/0.5828, allocations: 95.89 kB / 1.018 GB, free: 5.539 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003892/0.5832, allocations: 289.2 kB / 1.018 GB, free: 5.246 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=37): time 3.146e-06/0.5832, allocations: 0 / 1.018 GB, free: 5.246 MB / 0.7917 GB Notification: Performance of matching and sorting (n=37): time 0.001066/0.5843, allocations: 0.6954 MB / 1.019 GB, free: 4.543 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.5844, allocations: 59.41 kB / 1.019 GB, free: 4.473 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/0.5847, allocations: 494.1 kB / 1.019 GB, free: 3.977 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.5848, allocations: 41.64 kB / 1.019 GB, free: 3.93 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.5849, allocations: 264.4 kB / 1.02 GB, free: 3.668 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 7.486e-05/0.585, allocations: 130.9 kB / 1.02 GB, free: 3.539 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.807e-05/0.5851, allocations: 86.08 kB / 1.02 GB, free: 3.449 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.5852, allocations: 370.8 kB / 1.02 GB, free: 3.078 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.5855, allocations: 196.7 kB / 1.02 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.5858, allocations: 315.7 kB / 1.021 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/0.5863, allocations: 0.5378 MB / 1.021 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.5864, allocations: 7.938 kB / 1.021 GB, free: 1.945 MB / 0.7917 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007211/0.5871, allocations: 0.6522 MB / 1.022 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.5871, allocations: 59.41 kB / 1.022 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5871, allocations: 4 kB / 1.022 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.5871, allocations: 7.984 kB / 1.022 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.5874, allocations: 96.2 kB / 1.022 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.5874, allocations: 11.98 kB / 1.022 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.5876, allocations: 79.58 kB / 1.022 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.5877, allocations: 20 kB / 1.022 GB, free: 0.9883 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.0001653/0.5878, allocations: 198.5 kB / 1.022 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.5879, allocations: 51.67 kB / 1.022 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006757/0.5886, allocations: 0.5409 MB / 1.023 GB, free: 192 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.5886, allocations: 7.984 kB / 1.023 GB, free: 184 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5886, allocations: 0 / 1.023 GB, free: 184 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5886, allocations: 0 / 1.023 GB, free: 184 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.5902, allocations: 1.322 MB / 1.024 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5902, allocations: 4.438 kB / 1.024 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.5904, allocations: 83.81 kB / 1.024 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.5904, allocations: 7.938 kB / 1.024 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.5904, allocations: 16 kB / 1.024 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5904, allocations: 4 kB / 1.024 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5904, allocations: 4 kB / 1.024 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009854/0.5914, allocations: 0.9458 MB / 1.025 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.5915, allocations: 99.53 kB / 1.025 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.5916, allocations: 12 kB / 1.025 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.5918, allocations: 39.89 kB / 1.025 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.5919, allocations: 47.94 kB / 1.025 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.5919, allocations: 19.94 kB / 1.026 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002584/0.5922, allocations: 350.8 kB / 1.026 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.5922, allocations: 0 / 1.026 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004091/0.5926, allocations: 147.8 kB / 1.026 GB, free: 12.94 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.001349/0.5939, allocations: 1.564 MB / 1.028 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000712/0.5946, allocations: 0.5687 MB / 1.028 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5946, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.595, allocations: 276.1 kB / 1.028 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007827/0.5958, allocations: 286.5 kB / 1.029 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004726/0.6005, allocations: 5.001 MB / 1.033 GB, free: 4.922 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.6008, allocations: 0.8664 MB / 1.034 GB, free: 4.027 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003372/0.6011, allocations: 128.7 kB / 1.034 GB, free: 3.898 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.6013, allocations: 175.4 kB / 1.035 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of SimCode: time 9.02e-07/0.6013, allocations: 4 kB / 1.035 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/0.6373, allocations: 16.31 MB / 1.051 GB, free: 3.719 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.541, allocations: 3.562 kB / 1.051 GB, free: 3.719 MB / 0.823 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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.346006754087284] Failed to read output from testmodel.py, exit status != 0: 8.62416340992786 8.633364642 8.055884586 Calling exit ...