Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.001382/0.001382, allocations: 99.64 kB / 18.95 MB, free: 2.676 MB / 14.72 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.001641/0.001641, allocations: 204.8 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8692/0.8692, allocations: 134 MB / 446.4 MB, free: 9.953 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",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.002045/0.002045, allocations: 68.03 kB / 0.6185 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1717, allocations: 85.92 MB / 0.7024 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5536/0.7253, allocations: 142.2 MB / 0.8412 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005608/0.7309, allocations: 4.189 MB / 0.8453 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003294/0.7312, allocations: 11.88 kB / 0.8453 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004269/0.7316, allocations: 131 kB / 0.8455 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000814/0.7325, allocations: 338.5 kB / 0.8458 GB, free: 368 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00077/0.7332, allocations: 287.6 kB / 0.8461 GB, free: 84 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006609/0.7339, allocations: 0.5612 MB / 0.8466 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.7342, allocations: 161.4 kB / 0.8468 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000938/0.7351, allocations: 466.3 kB / 0.8472 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.7354, allocations: 203.2 kB / 0.8474 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.7354, allocations: 19.94 kB / 0.8474 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.7356, allocations: 79.88 kB / 0.8475 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.7357, allocations: 91.72 kB / 0.8476 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.7359, allocations: 99.58 kB / 0.8477 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.7363, allocations: 308.9 kB / 0.848 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7363, allocations: 0 / 0.848 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.163e-06/0.7363, allocations: 0 / 0.848 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.7363, allocations: 0 / 0.848 GB, free: 14.13 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008309/0.7371, allocations: 488.6 kB / 0.8484 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.7371, allocations: 12.03 kB / 0.8485 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/0.7372, allocations: 50.55 kB / 0.8485 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.7373, allocations: 31.81 kB / 0.8485 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.7377, allocations: 229.5 kB / 0.8488 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.7377, allocations: 16 kB / 0.8488 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.7377, allocations: 20 kB / 0.8488 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.7382, allocations: 258 kB / 0.849 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.7382, allocations: 3.938 kB / 0.849 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.7382, allocations: 12 kB / 0.8491 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.7382, allocations: 4 kB / 0.8491 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/0.7385, allocations: 147.8 kB / 0.8492 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.7399, allocations: 1.293 MB / 0.8505 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.7402, allocations: 179.7 kB / 0.8506 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.7404, allocations: 101 kB / 0.8507 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003167/0.7407, allocations: 47.94 kB / 0.8508 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.7407, allocations: 34.56 kB / 0.8508 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.7407, allocations: 0 / 0.8508 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0006031/0.7413, allocations: 213.7 kB / 0.851 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.7415, allocations: 183.9 kB / 0.8512 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.7418, allocations: 292.2 kB / 0.8515 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.7418, allocations: 33.64 kB / 0.8515 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.7419, allocations: 151.9 kB / 0.8516 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.7419, allocations: 31.7 kB / 0.8517 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/0.742, allocations: 37.7 kB / 0.8517 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.7421, allocations: 334.8 kB / 0.852 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.7423, allocations: 50.86 kB / 0.8521 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.7425, allocations: 215.2 kB / 0.8523 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.7428, allocations: 154.7 kB / 0.8524 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7428, allocations: 4 kB / 0.8524 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003782/0.7432, allocations: 201.2 kB / 0.8526 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.7432, allocations: 6.188 kB / 0.8526 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.7432, allocations: 3.938 kB / 0.8526 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.7432, allocations: 7.938 kB / 0.8526 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.7434, allocations: 36.19 kB / 0.8527 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.7434, allocations: 4 kB / 0.8527 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.7436, allocations: 23.88 kB / 0.8527 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.7436, allocations: 8 kB / 0.8527 GB, free: 8.859 MB / 0.6231 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 (15): * Single equations (assignments): 15 * 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.0001362/0.7437, allocations: 149.7 kB / 0.8529 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.7438, allocations: 35.75 kB / 0.8529 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.7442, allocations: 123 kB / 0.853 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.7442, allocations: 11.92 kB / 0.853 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.7442, allocations: 8 kB / 0.853 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7442, allocations: 0 / 0.853 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009248/0.7451, allocations: 0.7215 MB / 0.8537 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.7451, allocations: 0 / 0.8537 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.7452, allocations: 27.92 kB / 0.8538 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.7452, allocations: 0 / 0.8538 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.7452, allocations: 4 kB / 0.8538 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.7452, allocations: 4 kB / 0.8538 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7452, allocations: 4.156 kB / 0.8538 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005293/0.7458, allocations: 339.5 kB / 0.8541 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.575e-05/0.7459, allocations: 39.77 kB / 0.8541 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.7459, allocations: 7.984 kB / 0.8541 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.746, allocations: 8 kB / 0.8541 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.7461, allocations: 19.86 kB / 0.8542 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.7461, allocations: 4 kB / 0.8542 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002125/0.7463, allocations: 215.1 kB / 0.8544 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.7463, allocations: 0 / 0.8544 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003246/0.7466, allocations: 55.92 kB / 0.8544 GB, free: 6.988 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.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 (10): * Single equations (assignments): 10 * 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.0009174/0.7475, allocations: 0.8879 MB / 0.8553 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.7479, allocations: 131.7 kB / 0.8554 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.7479, allocations: 3.938 kB / 0.8554 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.748, allocations: 59.84 kB / 0.8555 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007119/0.7487, allocations: 115.5 kB / 0.8556 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.7519, allocations: 2.601 MB / 0.8581 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.7521, allocations: 154.2 kB / 0.8583 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001549/0.7522, allocations: 62.17 kB / 0.8583 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.7523, allocations: 63.42 kB / 0.8584 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.7523, allocations: 0 / 0.8584 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03923/0.7916, allocations: 7.837 MB / 0.866 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.96, allocations: 4 kB / 0.8661 GB, free: 11.12 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.675604377873242] Failed to read output from testmodel.py, exit status != 0: 12.074411190114915 12.095617906 11.356140058 Calling exit ...