Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.0008667/0.0008667, 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.0009998/0.0009998, 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.984/0.984, allocations: 230.6 MB / 256 MB, free: 9.805 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.8125/0.8125, allocations: 203.8 MB / 0.5042 GB, free: 10.62 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.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.00143/0.00143, allocations: 64.64 kB / 0.7182 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.599/0.6004, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1737/0.774, allocations: 183.3 MB / 0.9968 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.007525/0.7816, allocations: 7.942 MB / 1.005 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005884/0.7822, allocations: 27.75 kB / 1.005 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007269/0.7829, allocations: 250.2 kB / 1.005 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.002535/0.7854, allocations: 1.28 MB / 1.006 GB, free: 4.578 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.7869, allocations: 0.7999 MB / 1.007 GB, free: 3.781 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0009236/0.7878, allocations: 1.091 MB / 1.008 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004559/0.7882, allocations: 337.6 kB / 1.008 GB, free: 2.348 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.7903, allocations: 1.025 MB / 1.009 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.7907, allocations: 450.4 kB / 1.01 GB, free: 0.8906 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.334e-05/0.7907, allocations: 36 kB / 1.01 GB, free: 0.8555 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.7919, allocations: 1.009 MB / 1.011 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.792, allocations: 159.5 kB / 1.011 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.7922, allocations: 246.8 kB / 1.011 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0009407/0.7931, allocations: 0.9421 MB / 1.012 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.7931, allocations: 4 kB / 1.012 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7931, allocations: 0 / 1.012 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.7931, allocations: 0 / 1.012 GB, free: 14.5 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008066/0.7939, allocations: 0.7458 MB / 1.013 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.794, allocations: 16.02 kB / 1.013 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.896e-05/0.794, allocations: 78.47 kB / 1.013 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005195/0.7945, allocations: 147.6 kB / 1.013 GB, free: 13.47 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.795, allocations: 336.5 kB / 1.013 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.795, allocations: 29 kB / 1.013 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.795, allocations: 36 kB / 1.013 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.7955, allocations: 450.4 kB / 1.014 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.7955, allocations: 0 / 1.014 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.7955, allocations: 19.94 kB / 1.014 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.7955, allocations: 15.94 kB / 1.014 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.7959, allocations: 319.8 kB / 1.014 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.7974, allocations: 1.976 MB / 1.016 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.7976, allocations: 218.5 kB / 1.016 GB, free: 9.875 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.7978, allocations: 140.7 kB / 1.016 GB, free: 9.734 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002493/0.798, allocations: 83.91 kB / 1.017 GB, free: 9.652 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.798, allocations: 42.48 kB / 1.017 GB, free: 9.602 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.798, allocations: 0 / 1.017 GB, free: 9.602 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24): time 0.0006535/0.7987, allocations: 456.1 kB / 1.017 GB, free: 9.152 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.7987, allocations: 55.41 kB / 1.017 GB, free: 9.086 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.799, allocations: 398 kB / 1.017 GB, free: 8.688 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.799, allocations: 33.7 kB / 1.017 GB, free: 8.648 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.7991, allocations: 232.5 kB / 1.018 GB, free: 8.418 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.7992, allocations: 79.27 kB / 1.018 GB, free: 8.34 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.7992, allocations: 65.64 kB / 1.018 GB, free: 8.27 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.487e-05/0.7993, allocations: 350.7 kB / 1.018 GB, free: 7.918 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.7995, allocations: 115.9 kB / 1.018 GB, free: 7.805 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.7997, allocations: 182.7 kB / 1.018 GB, free: 7.602 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.8, allocations: 304 kB / 1.019 GB, free: 7.281 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8, allocations: 0 / 1.019 GB, free: 7.281 MB / 0.7917 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003762/0.8004, allocations: 372.8 kB / 1.019 GB, free: 6.91 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.8004, allocations: 8 kB / 1.019 GB, free: 6.902 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8004, allocations: 0 / 1.019 GB, free: 6.902 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.8004, allocations: 4 kB / 1.019 GB, free: 6.898 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.8006, allocations: 55.91 kB / 1.019 GB, free: 6.844 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.8006, allocations: 8.219 kB / 1.019 GB, free: 6.836 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.8007, allocations: 43.66 kB / 1.019 GB, free: 6.793 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.8007, allocations: 16 kB / 1.019 GB, free: 6.777 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 31 * 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.0001207/0.8009, allocations: 166.2 kB / 1.019 GB, free: 6.605 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.8009, allocations: 47.77 kB / 1.019 GB, free: 6.559 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.8013, allocations: 369 kB / 1.02 GB, free: 6.191 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.8013, allocations: 8 kB / 1.02 GB, free: 6.184 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.8013, allocations: 0 / 1.02 GB, free: 6.184 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.8013, allocations: 3.984 kB / 1.02 GB, free: 6.18 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008582/0.8022, allocations: 0.9127 MB / 1.021 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.8022, allocations: 0 / 1.021 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.8023, allocations: 47.91 kB / 1.021 GB, free: 5.148 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.8023, allocations: 7.938 kB / 1.021 GB, free: 5.141 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.8023, allocations: 8 kB / 1.021 GB, free: 5.133 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.8023, allocations: 7.984 kB / 1.021 GB, free: 5.125 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.8023, allocations: 3.938 kB / 1.021 GB, free: 5.121 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005729/0.8029, allocations: 0.6261 MB / 1.021 GB, free: 4.457 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 8.985e-05/0.803, allocations: 79.55 kB / 1.021 GB, free: 4.379 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.803, allocations: 12 kB / 1.021 GB, free: 4.367 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.8031, allocations: 8 kB / 1.021 GB, free: 4.359 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.8032, allocations: 23.91 kB / 1.021 GB, free: 4.336 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.8032, allocations: 15.92 kB / 1.021 GB, free: 4.32 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001826/0.8034, allocations: 283.2 kB / 1.022 GB, free: 4.047 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8034, allocations: 4 kB / 1.022 GB, free: 4.043 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002796/0.8037, allocations: 107.8 kB / 1.022 GB, free: 3.938 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.001036/0.8047, allocations: 1.221 MB / 1.023 GB, free: 2.672 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003617/0.8051, allocations: 279.6 kB / 1.023 GB, free: 2.398 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8051, allocations: 4 kB / 1.023 GB, free: 2.395 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.8052, allocations: 143.8 kB / 1.023 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/0.8058, allocations: 214.9 kB / 1.024 GB, free: 2.055 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.809, allocations: 3.807 MB / 1.027 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.8093, allocations: 0.8349 MB / 1.028 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000196/0.8095, allocations: 95.42 kB / 1.028 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.8097, allocations: 135.4 kB / 1.028 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of SimCode: time 8.81e-07/0.8097, allocations: 3.938 kB / 1.028 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.8365, allocations: 11.96 MB / 1.04 GB, free: 1.262 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.939, allocations: 8.812 kB / 1.04 GB, free: 1.258 MB / 0.8073 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_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_MoistAirEnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.104427105979994] Failed to read output from testmodel.py, exit status != 0: 8.023986655985937 8.031597046 7.23650736 Calling exit ...