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.001069/0.001069, 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.001058/0.001058, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.9719/0.9719, 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.8181/0.8181, allocations: 203.8 MB / 0.5042 GB, free: 10.69 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.0009843/0.0009843, allocations: 62.25 kB / 0.7182 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.5415, allocations: 102 MB / 0.8179 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1691/0.7106, allocations: 183.3 MB / 0.9968 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.007113/0.7177, allocations: 7.951 MB / 1.005 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006126/0.7183, allocations: 27.75 kB / 1.005 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006683/0.719, allocations: 250.2 kB / 1.005 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.7218, allocations: 1.268 MB / 1.006 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.7236, allocations: 0.8004 MB / 1.007 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001904/0.7255, allocations: 1.095 MB / 1.008 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006597/0.7262, allocations: 341.6 kB / 1.008 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003104/0.7293, allocations: 1.029 MB / 1.009 GB, free: 1.344 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006526/0.7299, allocations: 454.4 kB / 1.01 GB, free: 0.8984 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.684e-05/0.73, allocations: 36 kB / 1.01 GB, free: 0.8633 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.7319, allocations: 1.009 MB / 1.011 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.7321, allocations: 159.5 kB / 1.011 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0003042/0.7324, allocations: 246.8 kB / 1.011 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.734, allocations: 0.9382 MB / 1.012 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.734, allocations: 0 / 1.012 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.424e-06/0.734, allocations: 0 / 1.012 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.842e-05/0.734, allocations: 0 / 1.012 GB, free: 14.51 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.00102/0.7351, allocations: 0.7536 MB / 1.013 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.7351, allocations: 12.03 kB / 1.013 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.305e-05/0.7352, allocations: 78.47 kB / 1.013 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006069/0.7358, allocations: 151.5 kB / 1.013 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.7363, allocations: 336.4 kB / 1.013 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.7364, allocations: 29 kB / 1.013 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.7364, allocations: 39.98 kB / 1.013 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005409/0.7369, allocations: 450.4 kB / 1.014 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.737, allocations: 3.984 kB / 1.014 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.737, allocations: 19.94 kB / 1.014 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.737, allocations: 8 kB / 1.014 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.7374, allocations: 315.8 kB / 1.014 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.739, allocations: 1.98 MB / 1.016 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.7393, allocations: 230.4 kB / 1.016 GB, free: 9.871 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.7395, allocations: 132.8 kB / 1.016 GB, free: 9.738 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.7397, allocations: 79.91 kB / 1.017 GB, free: 9.66 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.7398, allocations: 38.56 kB / 1.017 GB, free: 9.613 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=24): time 2.584e-06/0.7398, allocations: 0 / 1.017 GB, free: 9.613 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24): time 0.000642/0.7404, allocations: 453.4 kB / 1.017 GB, free: 9.164 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.7405, allocations: 59.34 kB / 1.017 GB, free: 9.094 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.7407, allocations: 398 kB / 1.017 GB, free: 8.695 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.7408, allocations: 33.7 kB / 1.017 GB, free: 8.656 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.7409, allocations: 236.5 kB / 1.018 GB, free: 8.422 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/0.7409, allocations: 79.27 kB / 1.018 GB, free: 8.344 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/0.741, allocations: 73.56 kB / 1.018 GB, free: 8.266 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002178/0.7412, allocations: 350.7 kB / 1.018 GB, free: 7.914 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.7414, allocations: 111.9 kB / 1.018 GB, free: 7.805 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.7416, allocations: 178.8 kB / 1.018 GB, free: 7.605 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.7419, allocations: 315.8 kB / 1.019 GB, free: 7.273 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.7419, allocations: 0 / 1.019 GB, free: 7.273 MB / 0.7917 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004024/0.7423, allocations: 361.1 kB / 1.019 GB, free: 6.914 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.7423, allocations: 11.94 kB / 1.019 GB, free: 6.902 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.7423, allocations: 0 / 1.019 GB, free: 6.902 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7423, allocations: 4 kB / 1.019 GB, free: 6.898 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.7425, allocations: 55.91 kB / 1.019 GB, free: 6.844 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.7425, allocations: 4 kB / 1.019 GB, free: 6.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.7426, allocations: 47.66 kB / 1.019 GB, free: 6.793 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.7427, allocations: 16.19 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.0001408/0.7428, allocations: 178.2 kB / 1.019 GB, free: 6.594 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.7428, allocations: 39.72 kB / 1.019 GB, free: 6.555 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004378/0.7433, allocations: 365.1 kB / 1.02 GB, free: 6.191 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.7433, allocations: 4 kB / 1.02 GB, free: 6.188 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.7433, allocations: 0 / 1.02 GB, free: 6.188 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.7433, allocations: 0 / 1.02 GB, free: 6.188 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009024/0.7442, allocations: 0.9151 MB / 1.021 GB, free: 5.203 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7442, allocations: 8.156 kB / 1.021 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.7444, allocations: 43.97 kB / 1.021 GB, free: 5.152 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.7444, allocations: 7.938 kB / 1.021 GB, free: 5.145 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.7444, allocations: 8 kB / 1.021 GB, free: 5.137 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.7444, allocations: 7.938 kB / 1.021 GB, free: 5.129 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.7444, allocations: 0 / 1.021 GB, free: 5.129 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/0.745, allocations: 0.6262 MB / 1.021 GB, free: 4.465 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002992/0.7453, allocations: 79.59 kB / 1.021 GB, free: 4.387 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.7453, allocations: 12.06 kB / 1.021 GB, free: 4.375 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.7455, allocations: 15.98 kB / 1.021 GB, free: 4.359 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.7455, allocations: 19.97 kB / 1.021 GB, free: 4.34 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.7455, allocations: 8 kB / 1.021 GB, free: 4.332 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001921/0.7457, allocations: 279.1 kB / 1.022 GB, free: 4.062 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.7457, allocations: 0 / 1.022 GB, free: 4.062 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003528/0.7461, allocations: 111.8 kB / 1.022 GB, free: 3.953 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.0009233/0.747, allocations: 1.233 MB / 1.023 GB, free: 2.672 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000411/0.7474, allocations: 275.9 kB / 1.023 GB, free: 2.402 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7474, allocations: 4 kB / 1.023 GB, free: 2.398 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.7476, allocations: 147.7 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.0007857/0.7484, allocations: 212.9 kB / 1.024 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.7518, allocations: 3.799 MB / 1.027 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.7521, allocations: 0.8388 MB / 1.028 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002557/0.7523, allocations: 91.41 kB / 1.028 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.7525, allocations: 143.4 kB / 1.028 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of SimCode: time 1.123e-06/0.7525, allocations: 0 / 1.028 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.7834, allocations: 11.96 MB / 1.04 GB, free: 1.27 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.106/7.89, allocations: 2.094 kB / 1.04 GB, free: 1.27 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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: 10.968340218998492] Failed to read output from testmodel.py, exit status != 0: 7.9761753981001675 7.986615402 7.250483394 Calling exit ...