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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2214/0.2214, allocations: 46.11 MB / 344.2 MB, free: 11.55 MB / 286.1 MB 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.002233/0.002233, allocations: 82.55 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1232, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.0163/0.1395, allocations: 12.49 MB / 492.7 MB, free: 8.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1411, allocations: 1.397 MB / 494.1 MB, free: 7.188 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.1412, allocations: 0 / 494.1 MB, free: 7.188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.1414, allocations: 35.86 kB / 494.1 MB, free: 7.152 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005712/0.1471, allocations: 2.231 MB / 496.4 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.201e-06/0.1471, allocations: 0 / 496.4 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.593e-05/0.1472, allocations: 35.73 kB / 496.4 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.1473, allocations: 4 kB / 496.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.857e-05/0.1474, allocations: 19.92 kB / 496.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.1475, allocations: 19.86 kB / 496.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.315e-06/0.1475, allocations: 0 / 496.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006434/0.1539, allocations: 3.754 MB / 0.4885 GB, free: 1.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.154, allocations: 4 kB / 0.4885 GB, free: 1.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.154, allocations: 19.92 kB / 0.4885 GB, free: 1.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00363/0.1577, allocations: 1.973 MB / 0.4904 GB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1577, allocations: 0 / 0.4904 GB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1577, allocations: 3.984 kB / 0.4904 GB, free: 15.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1577, allocations: 0 / 0.4904 GB, free: 15.09 MB / 382.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.001204/0.159, allocations: 0.5616 MB / 0.491 GB, free: 14.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.804e-05/0.159, allocations: 12.02 kB / 0.491 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.1591, allocations: 30.75 kB / 0.491 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.1592, allocations: 12.94 kB / 0.491 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.1594, allocations: 172.4 kB / 0.4912 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.1594, allocations: 4.375 kB / 0.4912 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.1594, allocations: 384 / 0.4912 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.1597, allocations: 99.23 kB / 0.4913 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1597, allocations: 0 / 0.4913 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1597, allocations: 0 / 0.4913 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1597, allocations: 0 / 0.4913 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.1599, allocations: 43.95 kB / 0.4913 GB, free: 14.05 MB / 382.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.0004617/0.1604, allocations: 372.8 kB / 0.4917 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.1605, allocations: 58.53 kB / 0.4917 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.1606, allocations: 12.86 kB / 0.4917 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02281/0.1834, allocations: 10.38 MB / 0.5019 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.1835, allocations: 30.56 kB / 0.5019 GB, free: 1.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.886e-06/0.1835, allocations: 0 / 0.5019 GB, free: 1.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005098/0.184, allocations: 109.5 kB / 0.502 GB, free: 1.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.1841, allocations: 51.41 kB / 0.5021 GB, free: 1.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.401e-05/0.1842, allocations: 101.8 kB / 0.5022 GB, free: 1.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1842, allocations: 29.64 kB / 0.5022 GB, free: 1.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.1843, allocations: 96.05 kB / 0.5023 GB, free: 1.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.1843, allocations: 11.83 kB / 0.5023 GB, free: 1.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.1843, allocations: 21.72 kB / 0.5023 GB, free: 1.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1845, allocations: 318.8 kB / 0.5026 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.1845, allocations: 4 kB / 0.5026 GB, free: 1.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.928e-05/0.1846, allocations: 30.56 kB / 0.5027 GB, free: 1.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.307e-05/0.1846, allocations: 42.89 kB / 0.5027 GB, free: 1.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1846, allocations: 0 / 0.5027 GB, free: 1.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001105/0.1848, allocations: 73.62 kB / 0.5028 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1848, allocations: 4 kB / 0.5028 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1848, allocations: 7.938 kB / 0.5028 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1848, allocations: 4 kB / 0.5028 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.441e-05/0.1849, allocations: 8 kB / 0.5028 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1849, allocations: 4.062 kB / 0.5028 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.203e-05/0.1849, allocations: 7.938 kB / 0.5028 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1849, allocations: 0 / 0.5028 GB, free: 0.9609 MB / 382.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 9.632e-05/0.185, allocations: 121.8 kB / 0.5029 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.1851, allocations: 0 / 0.5029 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/0.1855, allocations: 379.6 kB / 0.5033 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.1855, allocations: 4 kB / 0.5033 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1855, allocations: 0 / 0.5033 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.1856, allocations: 3.938 kB / 0.5033 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.1859, allocations: 285.9 kB / 0.5036 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1859, allocations: 0 / 0.5036 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.954e-05/0.1859, allocations: 4 kB / 0.5036 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1859, allocations: 3.984 kB / 0.5036 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1859, allocations: 0 / 0.5036 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.186, allocations: 8 kB / 0.5036 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.186, allocations: 0 / 0.5036 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1733/0.3593, allocations: 284.4 kB / 0.5038 GB, free: 43.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.3594, allocations: 90.36 kB / 0.5039 GB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.3594, allocations: 1.547 kB / 0.5039 GB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.3595, allocations: 1.031 kB / 0.5039 GB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.3595, allocations: 3.531 kB / 0.5039 GB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3595, allocations: 8.766 kB / 0.5039 GB, free: 43.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.379e-05/0.3595, allocations: 81.84 kB / 0.504 GB, free: 43.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3595, allocations: 0 / 0.504 GB, free: 43.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001408/0.361, allocations: 444.3 kB / 0.5044 GB, free: 43.09 MB / 382.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.002027/0.363, allocations: 1.279 MB / 0.5057 GB, free: 42.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001659/0.3632, allocations: 85.39 kB / 0.5058 GB, free: 42.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3632, allocations: 5.219 kB / 0.5058 GB, free: 42.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.113e-05/0.3633, allocations: 84.98 kB / 0.5059 GB, free: 42.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.3636, allocations: 19.81 kB / 0.5059 GB, free: 42.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009265/0.3645, allocations: 465.5 kB / 0.5063 GB, free: 42.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.3647, allocations: 0.7147 MB / 0.507 GB, free: 41.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.522e-05/0.3648, allocations: 26.89 kB / 0.507 GB, free: 41.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.3648, allocations: 31.36 kB / 0.5071 GB, free: 41.51 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3648, allocations: 0.9688 kB / 0.5071 GB, free: 41.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04931/0.4141, allocations: 15.68 MB / 0.5224 GB, free: 35.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/8.801, allocations: 9.625 kB / 0.5224 GB, free: 35.97 MB / 382.1 MB (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.0004 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)