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.001249/0.001249, allocations: 116.1 kB / 17.17 MB, free: 6 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.001359/0.001359, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.412/1.412, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8528/0.8528, allocations: 133.9 MB / 443.5 MB, free: 13.97 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.001917/0.001917, allocations: 68.66 kB / 0.6141 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.148, allocations: 85.86 MB / 0.698 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2015/0.3496, allocations: 171 MB / 0.8649 GB, free: 3.336 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4261/0.7757, allocations: 6.579 MB / 0.8713 GB, free: 1.836 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005666/0.7762, allocations: 19.62 kB / 0.8714 GB, free: 1.836 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006615/0.7769, allocations: 173.8 kB / 0.8715 GB, free: 1.836 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.7794, allocations: 0.8721 MB / 0.8724 GB, free: 1.832 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.7805, allocations: 327.6 kB / 0.8727 GB, free: 1.824 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001188/0.7817, allocations: 0.7178 MB / 0.8734 GB, free: 1.824 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005363/0.7822, allocations: 235.7 kB / 0.8736 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.7837, allocations: 0.5714 MB / 0.8742 GB, free: 1.809 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005931/0.7843, allocations: 287.5 kB / 0.8745 GB, free: 1.809 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.241e-05/0.7844, allocations: 23.84 kB / 0.8745 GB, free: 1.809 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008315/0.7852, allocations: 363 kB / 0.8748 GB, free: 1.805 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.7854, allocations: 106.4 kB / 0.8749 GB, free: 1.805 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.7857, allocations: 171 kB / 0.8751 GB, free: 1.805 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00093/0.7867, allocations: 476.9 kB / 0.8755 GB, free: 1.773 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7867, allocations: 9.469 kB / 0.8756 GB, free: 1.773 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7867, allocations: 0 / 0.8756 GB, free: 1.773 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.7867, allocations: 0 / 0.8756 GB, free: 1.773 MB / 0.67 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.001242/0.7879, allocations: 0.6232 MB / 0.8762 GB, free: 17.3 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.788, allocations: 13 kB / 0.8762 GB, free: 17.3 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.684e-05/0.788, allocations: 9.125 kB / 0.8762 GB, free: 17.3 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.78e-05/0.7881, allocations: 65.08 kB / 0.8762 GB, free: 17.26 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.7884, allocations: 62.33 kB / 0.8763 GB, free: 17.24 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/0.789, allocations: 324.2 kB / 0.8766 GB, free: 17.02 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.789, allocations: 21.55 kB / 0.8766 GB, free: 17.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.789, allocations: 25.27 kB / 0.8767 GB, free: 17.02 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/0.7896, allocations: 317.7 kB / 0.877 GB, free: 16.93 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.7896, allocations: 4.625 kB / 0.877 GB, free: 16.93 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.7897, allocations: 11.41 kB / 0.877 GB, free: 16.93 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.7897, allocations: 12.58 kB / 0.877 GB, free: 16.92 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.7901, allocations: 207.2 kB / 0.8772 GB, free: 16.92 MB / 0.6856 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.001634/0.7917, allocations: 1.542 MB / 0.8787 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.792, allocations: 107.4 kB / 0.8788 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.7922, allocations: 85.36 kB / 0.8789 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006282/0.7928, allocations: 302.7 kB / 0.8792 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.7928, allocations: 37.08 kB / 0.8792 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.7928, allocations: 0.7188 kB / 0.8792 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0008274/0.7937, allocations: 278.7 kB / 0.8795 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.7937, allocations: 54.41 kB / 0.8795 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.794, allocations: 313.9 kB / 0.8798 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.7941, allocations: 26.89 kB / 0.8798 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.7942, allocations: 185.6 kB / 0.88 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.7942, allocations: 51.39 kB / 0.8801 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/0.7943, allocations: 36.88 kB / 0.8801 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.7944, allocations: 341.1 kB / 0.8804 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.7946, allocations: 60.08 kB / 0.8805 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.7948, allocations: 112.4 kB / 0.8806 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.7951, allocations: 177.8 kB / 0.8808 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.7951, allocations: 0.6562 kB / 0.8808 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004344/0.7955, allocations: 220.2 kB / 0.881 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.7955, allocations: 6.906 kB / 0.881 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.7955, allocations: 1.969 kB / 0.881 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.7956, allocations: 2.938 kB / 0.881 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.7957, allocations: 38.64 kB / 0.881 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.7958, allocations: 5.109 kB / 0.881 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.7959, allocations: 25.17 kB / 0.881 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.796, allocations: 12.33 kB / 0.8811 GB, free: 14.55 MB / 0.6856 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.0001661/0.7961, allocations: 152.8 kB / 0.8812 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.7962, allocations: 31.52 kB / 0.8812 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004781/0.7967, allocations: 212.4 kB / 0.8814 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.7967, allocations: 4.203 kB / 0.8814 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7967, allocations: 0.5312 kB / 0.8814 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.7967, allocations: 1.531 kB / 0.8814 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.7979, allocations: 0.6739 MB / 0.8821 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-06/0.7979, allocations: 5 kB / 0.8821 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.7981, allocations: 33.06 kB / 0.8821 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.7981, allocations: 6.75 kB / 0.8821 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.7981, allocations: 2.969 kB / 0.8821 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.7981, allocations: 6.812 kB / 0.8822 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7981, allocations: 2.281 kB / 0.8822 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.7986, allocations: 335 kB / 0.8825 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.7987, allocations: 124.4 kB / 0.8826 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.7988, allocations: 11.16 kB / 0.8826 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.7989, allocations: 7.328 kB / 0.8826 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.799, allocations: 15.14 kB / 0.8826 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.799, allocations: 5.656 kB / 0.8826 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002775/0.7993, allocations: 223.2 kB / 0.8828 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7993, allocations: 9.25 kB / 0.8829 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004695/0.7998, allocations: 72.73 kB / 0.8829 GB, free: 13.61 MB / 0.6856 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.001012/0.8008, allocations: 0.9114 MB / 0.8838 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004977/0.8013, allocations: 155.9 kB / 0.884 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.8013, allocations: 0.5 kB / 0.884 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.8015, allocations: 81.69 kB / 0.884 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008716/0.8024, allocations: 148 kB / 0.8842 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/0.8062, allocations: 2.823 MB / 0.8869 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.8067, allocations: 0.7845 MB / 0.8877 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002755/0.807, allocations: 59 kB / 0.8878 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.8071, allocations: 89.69 kB / 0.8878 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of SimCode: time 7.11e-07/0.8071, allocations: 1.203 kB / 0.8878 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.833, allocations: 8.159 MB / 0.8958 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.551/9.384, allocations: 6.938 kB / 0.8958 GB, free: 10.05 MB / 0.6856 GB " [Timeout remaining time 650] (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: 13.082554690015968] Failed to read output from testmodel.py, exit status != 0: 9.805048940994311 9.53207725 8.741465373 Calling exit ...