Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.0017/0.0017, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002104/0.002104, allocations: 215.5 kB / 23.04 MB, free: 5.078 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.8101/0.8101, allocations: 134 MB / 447.2 MB, free: 10.34 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.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",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.001881/0.001881, allocations: 66.02 kB / 0.6193 GB, free: 7.254 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1871, allocations: 85.91 MB / 0.7032 GB, free: 1.43 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.571/0.7582, allocations: 171.2 MB / 0.8704 GB, free: 11.56 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.008213/0.7664, allocations: 6.635 MB / 0.8768 GB, free: 4.902 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004414/0.7668, allocations: 19.81 kB / 0.8769 GB, free: 4.883 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.0005341/0.7674, allocations: 170.7 kB / 0.877 GB, free: 4.715 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.002113/0.7695, allocations: 0.8947 MB / 0.8779 GB, free: 3.816 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009086/0.7704, allocations: 351.5 kB / 0.8782 GB, free: 3.477 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.0008986/0.7713, allocations: 0.7369 MB / 0.879 GB, free: 2.738 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003847/0.7717, allocations: 219 kB / 0.8792 GB, free: 2.527 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.7728, allocations: 0.5682 MB / 0.8797 GB, free: 1.957 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.7732, allocations: 290.9 kB / 0.88 GB, free: 1.672 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.7732, allocations: 20 kB / 0.88 GB, free: 1.652 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006436/0.7739, allocations: 371.1 kB / 0.8804 GB, free: 1.289 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.774, allocations: 115.6 kB / 0.8805 GB, free: 1.176 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.7742, allocations: 163.2 kB / 0.8806 GB, free: 1.016 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.000667/0.7748, allocations: 480.5 kB / 0.8811 GB, free: 0.5508 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.7748, allocations: 0 / 0.8811 GB, free: 0.5508 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7748, allocations: 3.938 kB / 0.8811 GB, free: 0.5469 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.7748, allocations: 0 / 0.8811 GB, free: 0.5469 MB / 0.6388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008442/0.7757, allocations: 0.5517 MB / 0.8816 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.7757, allocations: 16.03 kB / 0.8817 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.509e-05/0.7757, allocations: 4.656 kB / 0.8817 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.481e-05/0.7758, allocations: 63.41 kB / 0.8817 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002967/0.7761, allocations: 67.67 kB / 0.8818 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.7766, allocations: 259.4 kB / 0.882 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.7766, allocations: 24.66 kB / 0.8821 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.7766, allocations: 28 kB / 0.8821 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005265/0.7772, allocations: 312.9 kB / 0.8824 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.7772, allocations: 3.938 kB / 0.8824 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.7772, allocations: 12 kB / 0.8824 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.7772, allocations: 7.938 kB / 0.8824 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.7776, allocations: 199.7 kB / 0.8826 GB, free: 14.93 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.7792, allocations: 1.504 MB / 0.8841 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.7794, allocations: 110.5 kB / 0.8842 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.7796, allocations: 88.8 kB / 0.8843 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000456/0.7801, allocations: 71.92 kB / 0.8843 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.7801, allocations: 38.48 kB / 0.8844 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.7801, allocations: 0 / 0.8844 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007517/0.7808, allocations: 283.6 kB / 0.8846 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.7809, allocations: 51.41 kB / 0.8847 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.7812, allocations: 308.5 kB / 0.885 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.7812, allocations: 33.7 kB / 0.885 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.7814, allocations: 184.2 kB / 0.8852 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.7814, allocations: 39.64 kB / 0.8852 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.7815, allocations: 45.66 kB / 0.8853 GB, free: 12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.7817, allocations: 338.8 kB / 0.8856 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.7818, allocations: 63.95 kB / 0.8856 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.782, allocations: 113 kB / 0.8858 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.7824, allocations: 178.4 kB / 0.8859 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7824, allocations: 0 / 0.8859 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000428/0.7828, allocations: 221.3 kB / 0.8861 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.7828, allocations: 8 kB / 0.8861 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.7828, allocations: 0 / 0.8861 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.7828, allocations: 0 / 0.8861 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.783, allocations: 35.92 kB / 0.8862 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.783, allocations: 7.984 kB / 0.8862 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.7832, allocations: 28.91 kB / 0.8862 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.7832, allocations: 11.98 kB / 0.8862 GB, free: 10.97 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001505/0.7834, allocations: 149.9 kB / 0.8864 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.7834, allocations: 27.81 kB / 0.8864 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.7838, allocations: 204.2 kB / 0.8866 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.7839, allocations: 7.984 kB / 0.8866 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.7839, allocations: 3.75 kB / 0.8866 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7839, allocations: 0 / 0.8866 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.7849, allocations: 0.6514 MB / 0.8872 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.7849, allocations: 4 kB / 0.8872 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.785, allocations: 36.12 kB / 0.8873 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.785, allocations: 7.938 kB / 0.8873 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.785, allocations: 8 kB / 0.8873 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.785, allocations: 0 / 0.8873 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.785, allocations: 4 kB / 0.8873 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.7855, allocations: 337.2 kB / 0.8876 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.975e-05/0.7856, allocations: 43.73 kB / 0.8877 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.7856, allocations: 8 kB / 0.8877 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.7858, allocations: 7.984 kB / 0.8877 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.7858, allocations: 23.92 kB / 0.8877 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.7858, allocations: 4 kB / 0.8877 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002323/0.7861, allocations: 227 kB / 0.8879 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.7861, allocations: 0 / 0.8879 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003603/0.7864, allocations: 71.83 kB / 0.888 GB, free: 9.051 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0008922/0.7873, allocations: 0.9114 MB / 0.8889 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.7877, allocations: 159.5 kB / 0.889 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7877, allocations: 0 / 0.889 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.7879, allocations: 83.81 kB / 0.8891 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008033/0.7887, allocations: 147.3 kB / 0.8892 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.7922, allocations: 2.818 MB / 0.892 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.7926, allocations: 0.7795 MB / 0.8928 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.7927, allocations: 62.88 kB / 0.8928 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.7929, allocations: 87.42 kB / 0.8929 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.7929, allocations: 0 / 0.8929 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.8233, allocations: 8.334 MB / 0.901 GB, free: 11.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.14, allocations: 10.06 kB / 0.901 GB, free: 11.69 MB / 0.67 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.703811035025865] Failed to read output from testmodel.py, exit status != 0: 12.295359683106653 12.313176595 11.534941365 Calling exit ...