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.001298/0.001298, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001392, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2225/0.2225, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.002269/0.002269, allocations: 76.83 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.118, allocations: 62.46 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01686/0.1349, allocations: 12.48 MB / 492.7 MB, free: 8.617 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.1366, allocations: 1.397 MB / 494.1 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.1367, allocations: 0 / 494.1 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.1369, allocations: 43.78 kB / 494.1 MB, free: 7.172 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005601/0.1425, allocations: 2.224 MB / 496.4 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.416e-06/0.1426, allocations: 4 kB / 496.4 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.339e-05/0.1427, allocations: 31.75 kB / 496.4 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.1427, allocations: 4 kB / 496.4 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.94e-05/0.1428, allocations: 23.86 kB / 496.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.329e-05/0.1428, allocations: 15.92 kB / 496.4 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.1429, allocations: 0 / 496.4 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00684/0.1497, allocations: 3.75 MB / 0.4885 GB, free: 1.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.1498, allocations: 4 kB / 0.4885 GB, free: 1.113 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.1498, allocations: 19.92 kB / 0.4885 GB, free: 1.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004514/0.1544, allocations: 1.981 MB / 0.4904 GB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1544, allocations: 0 / 0.4904 GB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.759e-06/0.1544, allocations: 0 / 0.4904 GB, free: 15.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1544, allocations: 3.938 kB / 0.4904 GB, free: 15.11 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.001601/0.156, allocations: 0.5577 MB / 0.491 GB, free: 14.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1561, allocations: 8.031 kB / 0.491 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.1561, allocations: 34.75 kB / 0.491 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.1563, allocations: 12.92 kB / 0.491 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.1564, allocations: 164.4 kB / 0.4912 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.1565, allocations: 8.375 kB / 0.4912 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.1565, allocations: 384 / 0.4912 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.1568, allocations: 99.22 kB / 0.4913 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1568, allocations: 4 kB / 0.4913 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.1568, allocations: 0 / 0.4913 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1568, allocations: 0 / 0.4913 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.157, allocations: 43.95 kB / 0.4913 GB, free: 14.07 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.0004611/0.1575, allocations: 368.8 kB / 0.4917 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1576, allocations: 62.53 kB / 0.4917 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.1577, allocations: 16.94 kB / 0.4918 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02254/0.1802, allocations: 10.38 MB / 0.5019 GB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.1803, allocations: 30.56 kB / 0.5019 GB, free: 1.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.194e-06/0.1803, allocations: 0 / 0.5019 GB, free: 1.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005091/0.1808, allocations: 109.5 kB / 0.502 GB, free: 1.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.1809, allocations: 51.41 kB / 0.5021 GB, free: 1.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.181, allocations: 97.86 kB / 0.5022 GB, free: 1.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.181, allocations: 29.69 kB / 0.5022 GB, free: 1.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.1811, allocations: 92.05 kB / 0.5023 GB, free: 1.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.1811, allocations: 15.83 kB / 0.5023 GB, free: 1.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.1812, allocations: 17.72 kB / 0.5023 GB, free: 1.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1813, allocations: 322.8 kB / 0.5026 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.1814, allocations: 8 kB / 0.5026 GB, free: 1.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.626e-05/0.1814, allocations: 26.56 kB / 0.5027 GB, free: 1.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.1815, allocations: 38.52 kB / 0.5027 GB, free: 1.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.1815, allocations: 4 kB / 0.5027 GB, free: 1.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001189/0.1816, allocations: 69.47 kB / 0.5028 GB, free: 1.023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1816, allocations: 4 kB / 0.5028 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1817, allocations: 0 / 0.5028 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1817, allocations: 4 kB / 0.5028 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/0.1818, allocations: 15.98 kB / 0.5028 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1818, allocations: 64 / 0.5028 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.566e-05/0.1818, allocations: 7.938 kB / 0.5028 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1819, allocations: 8.109 kB / 0.5028 GB, free: 0.9844 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 0.0001024/0.182, allocations: 117.8 kB / 0.5029 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.182, allocations: 4 kB / 0.5029 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.1825, allocations: 379.6 kB / 0.5033 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.1825, allocations: 7.984 kB / 0.5033 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1825, allocations: 0 / 0.5033 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1825, allocations: 3.938 kB / 0.5033 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.1828, allocations: 281.9 kB / 0.5036 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1828, allocations: 4.422 kB / 0.5036 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.099e-05/0.1829, allocations: 4 kB / 0.5036 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1829, allocations: 0 / 0.5036 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1829, allocations: 3.938 kB / 0.5036 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1829, allocations: 4 kB / 0.5036 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1829, allocations: 0 / 0.5036 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1925/0.3754, allocations: 283.4 kB / 0.5038 GB, free: 43.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.3755, allocations: 92.59 kB / 0.5039 GB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.3755, allocations: 2.281 kB / 0.5039 GB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/0.3756, allocations: 0 / 0.5039 GB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.3757, allocations: 7.328 kB / 0.5039 GB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.3757, allocations: 4.969 kB / 0.5039 GB, free: 43.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.595e-05/0.3757, allocations: 85.91 kB / 0.504 GB, free: 43.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3757, allocations: 0.9375 kB / 0.504 GB, free: 43.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001577/0.3773, allocations: 443.5 kB / 0.5045 GB, free: 43.13 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.002437/0.3798, allocations: 1.274 MB / 0.5057 GB, free: 42.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.38, allocations: 91.8 kB / 0.5058 GB, free: 42.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.38, allocations: 0 / 0.5058 GB, free: 42.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.3801, allocations: 85.44 kB / 0.5059 GB, free: 42.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.3805, allocations: 17.62 kB / 0.5059 GB, free: 42.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.3816, allocations: 464.6 kB / 0.5063 GB, free: 42.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.3818, allocations: 0.719 MB / 0.507 GB, free: 41.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.728e-05/0.3819, allocations: 27.2 kB / 0.5071 GB, free: 41.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.3819, allocations: 35.27 kB / 0.5071 GB, free: 41.56 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3819, allocations: 0 / 0.5071 GB, free: 41.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0426/0.4246, allocations: 15.67 MB / 0.5224 GB, free: 36.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.436/8.861, allocations: 6.656 kB / 0.5224 GB, free: 36.03 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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)