Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001755/0.001755, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002189/0.002189, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 230.5 MB / 258.2 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2265/0.2265, allocations: 46.94 MB / 361.6 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 83.86 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3569, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.0207/0.3776, allocations: 12.6 MB / 0.5738 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.3801, allocations: 1.397 MB / 0.5752 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.259e-05/0.3801, allocations: 3.938 kB / 0.5752 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.3804, allocations: 31.81 kB / 0.5752 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008169/0.3885, allocations: 2.243 MB / 0.5774 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.093e-06/0.3885, allocations: 4 kB / 0.5774 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.3887, allocations: 43.67 kB / 0.5774 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.3887, allocations: 0 / 0.5774 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.949e-05/0.3888, allocations: 11.98 kB / 0.5774 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.3888, allocations: 15.94 kB / 0.5775 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.627e-06/0.3889, allocations: 0 / 0.5775 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007075/0.3959, allocations: 3.859 MB / 0.5812 GB, free: 44 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.3959, allocations: 0 / 0.5812 GB, free: 44 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.396, allocations: 15.88 kB / 0.5812 GB, free: 28 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003715/0.3997, allocations: 1.988 MB / 0.5832 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3997, allocations: 0 / 0.5832 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3997, allocations: 0 / 0.5832 GB, free: 14.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3997, allocations: 0 / 0.5832 GB, free: 14.04 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001183/0.4009, allocations: 0.4928 MB / 0.5837 GB, free: 13.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.401, allocations: 8.031 kB / 0.5837 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.401, allocations: 34.75 kB / 0.5837 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.4012, allocations: 16.88 kB / 0.5837 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.4013, allocations: 106.5 kB / 0.5838 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.4013, allocations: 4.375 kB / 0.5838 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.4013, allocations: 4.375 kB / 0.5838 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.4016, allocations: 99.22 kB / 0.5839 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4016, allocations: 0 / 0.5839 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4016, allocations: 7.938 kB / 0.5839 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.4016, allocations: 0 / 0.5839 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.4018, allocations: 51.95 kB / 0.584 GB, free: 13.14 MB / 430.1 MB 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.0004789/0.4022, allocations: 328.1 kB / 0.5843 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.4024, allocations: 62.5 kB / 0.5844 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.4025, allocations: 16.94 kB / 0.5844 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01849/0.421, allocations: 5.652 MB / 0.5899 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.563e-05/0.421, allocations: 30.56 kB / 0.5899 GB, free: 6.984 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/0.421, allocations: 0 / 0.5899 GB, free: 6.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004904/0.4215, allocations: 113.5 kB / 0.59 GB, free: 6.867 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.4216, allocations: 51.41 kB / 0.5901 GB, free: 6.805 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.4217, allocations: 101.8 kB / 0.5902 GB, free: 6.695 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.4217, allocations: 25.7 kB / 0.5902 GB, free: 6.664 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.626e-05/0.4217, allocations: 96.08 kB / 0.5903 GB, free: 6.566 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.4218, allocations: 11.84 kB / 0.5903 GB, free: 6.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.4218, allocations: 17.72 kB / 0.5903 GB, free: 6.531 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4219, allocations: 326.8 kB / 0.5906 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.422, allocations: 4 kB / 0.5906 GB, free: 6.199 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.761e-05/0.422, allocations: 22.58 kB / 0.5907 GB, free: 6.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.76e-05/0.4221, allocations: 46.5 kB / 0.5907 GB, free: 6.113 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4221, allocations: 4 kB / 0.5907 GB, free: 6.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001315/0.4222, allocations: 61.62 kB / 0.5908 GB, free: 6.043 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.4222, allocations: 6.344 kB / 0.5908 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4222, allocations: 0 / 0.5908 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4222, allocations: 4 kB / 0.5908 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.071e-05/0.4223, allocations: 11.98 kB / 0.5908 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.4223, allocations: 0 / 0.5908 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.324e-05/0.4223, allocations: 15.95 kB / 0.5908 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.4224, allocations: 432 / 0.5908 GB, free: 6.008 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.969e-05/0.4224, allocations: 114.7 kB / 0.5909 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.4225, allocations: 0 / 0.5909 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.4229, allocations: 395.1 kB / 0.5913 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.423, allocations: 7.969 kB / 0.5913 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.423, allocations: 0 / 0.5913 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.423, allocations: 3.938 kB / 0.5913 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.4233, allocations: 265.2 kB / 0.5916 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.4233, allocations: 3.984 kB / 0.5916 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.4233, allocations: 8 kB / 0.5916 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4233, allocations: 0 / 0.5916 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.4233, allocations: 0 / 0.5916 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4233, allocations: 0 / 0.5916 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4233, allocations: 0 / 0.5916 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.4236, allocations: 301.6 kB / 0.5919 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.4236, allocations: 24.09 kB / 0.5919 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.4236, allocations: 0 / 0.5919 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.208e-05/0.4237, allocations: 8 kB / 0.5919 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.4237, allocations: 3.984 kB / 0.5919 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.4237, allocations: 3.938 kB / 0.5919 GB, free: 4.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.553e-05/0.4238, allocations: 87.22 kB / 0.592 GB, free: 4.734 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4238, allocations: 0 / 0.592 GB, free: 4.734 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001277/0.425, allocations: 451.3 kB / 0.5924 GB, free: 4.293 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002226/0.4273, allocations: 1.284 MB / 0.5937 GB, free: 2.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.4274, allocations: 84.03 kB / 0.5937 GB, free: 2.898 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4274, allocations: 7.938 kB / 0.5937 GB, free: 2.891 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.632e-05/0.4275, allocations: 67.92 kB / 0.5938 GB, free: 2.824 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.4278, allocations: 23.91 kB / 0.5938 GB, free: 2.801 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000972/0.4288, allocations: 462 kB / 0.5943 GB, free: 2.305 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.4292, allocations: 0.7125 MB / 0.595 GB, free: 1.566 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.044e-05/0.4292, allocations: 19.97 kB / 0.595 GB, free: 1.547 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.4293, allocations: 39.36 kB / 0.595 GB, free: 1.508 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4293, allocations: 0 / 0.595 GB, free: 1.508 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04566/0.475, allocations: 15.79 MB / 0.6104 GB, free: 1.773 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/8.851, allocations: 5.609 kB / 0.6105 GB, free: 1.77 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.749027234036475] Failed to read output from testmodel.py, exit status != 0: ['time', 'h_dew'] 8.926533348858356 8.952885451 8.548263127 Calling exit ...