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.001628/0.001628, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001948/0.001949, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 247 MB, free: 10.46 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.2215/0.2215, allocations: 46.1 MB / 344.3 MB, free: 11.48 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.002283/0.002283, allocations: 79.86 kB / 480.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3284, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01726/0.3457, allocations: 12.49 MB / 0.5428 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3477, allocations: 1.395 MB / 0.5441 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.3478, allocations: 1.062 kB / 0.5441 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.3481, allocations: 30.53 kB / 0.5442 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008041/0.3561, allocations: 2.236 MB / 0.5463 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.427e-05/0.3562, allocations: 0.75 kB / 0.5463 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.3563, allocations: 40.88 kB / 0.5464 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.3564, allocations: 2.312 kB / 0.5464 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.3565, allocations: 23.77 kB / 0.5464 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.3565, allocations: 11.78 kB / 0.5464 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.3565, allocations: 5.062 kB / 0.5464 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008052/0.3646, allocations: 3.851 MB / 0.5502 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.3647, allocations: 0 / 0.5502 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.868e-05/0.3647, allocations: 11.94 kB / 0.5502 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004486/0.3692, allocations: 1.984 MB / 0.5521 GB, free: 11.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3692, allocations: 4 kB / 0.5521 GB, free: 11.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3693, allocations: 0 / 0.5521 GB, free: 11.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.3693, allocations: 0 / 0.5521 GB, free: 11.64 MB / 414.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.001264/0.3705, allocations: 0.5681 MB / 0.5527 GB, free: 11.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3706, allocations: 8.031 kB / 0.5527 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/0.3706, allocations: 42.73 kB / 0.5527 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.3708, allocations: 8.891 kB / 0.5528 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.3709, allocations: 168.4 kB / 0.5529 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.371, allocations: 384 / 0.5529 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.371, allocations: 12.31 kB / 0.5529 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.3713, allocations: 87.31 kB / 0.553 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3713, allocations: 0 / 0.553 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3713, allocations: 4 kB / 0.553 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3713, allocations: 0 / 0.553 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.3715, allocations: 47.95 kB / 0.5531 GB, free: 10.59 MB / 414.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.000461/0.3719, allocations: 364.9 kB / 0.5534 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.3721, allocations: 58.47 kB / 0.5535 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.3722, allocations: 16.86 kB / 0.5535 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02154/0.3937, allocations: 10.42 MB / 0.5637 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.3938, allocations: 34.56 kB / 0.5637 GB, free: 14.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.264e-06/0.3938, allocations: 0 / 0.5637 GB, free: 14.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004908/0.3943, allocations: 109.7 kB / 0.5638 GB, free: 14.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.3944, allocations: 51.41 kB / 0.5638 GB, free: 14.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.3945, allocations: 105.8 kB / 0.5639 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.3945, allocations: 25.7 kB / 0.564 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.3946, allocations: 84.09 kB / 0.5641 GB, free: 14.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.3946, allocations: 23.84 kB / 0.5641 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.3947, allocations: 21.7 kB / 0.5641 GB, free: 13.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3948, allocations: 314.8 kB / 0.5644 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.3949, allocations: 4 kB / 0.5644 GB, free: 13.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-05/0.3949, allocations: 34.5 kB / 0.5644 GB, free: 13.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.671e-05/0.395, allocations: 42.52 kB / 0.5645 GB, free: 13.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.395, allocations: 0 / 0.5645 GB, free: 13.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00011/0.3951, allocations: 61.75 kB / 0.5645 GB, free: 13.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3951, allocations: 8 kB / 0.5645 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3951, allocations: 7.984 kB / 0.5645 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3952, allocations: 0 / 0.5645 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.3952, allocations: 8 kB / 0.5646 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.3953, allocations: 7.938 kB / 0.5646 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.3953, allocations: 7.891 kB / 0.5646 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.3953, allocations: 8.062 kB / 0.5646 GB, free: 13.46 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.946e-05/0.3954, allocations: 109.8 kB / 0.5647 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.3954, allocations: 4 kB / 0.5647 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004569/0.3959, allocations: 371.8 kB / 0.565 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.3959, allocations: 7.984 kB / 0.565 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3959, allocations: 0 / 0.565 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3959, allocations: 3.938 kB / 0.5651 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.3963, allocations: 282.2 kB / 0.5653 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3963, allocations: 4 kB / 0.5653 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.3963, allocations: 7.938 kB / 0.5653 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-06/0.3963, allocations: 4 kB / 0.5653 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.3963, allocations: 0 / 0.5653 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3963, allocations: 0 / 0.5653 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3964, allocations: 0 / 0.5653 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.3966, allocations: 289.7 kB / 0.5656 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.3967, allocations: 92.95 kB / 0.5657 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.3967, allocations: 8 kB / 0.5657 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.651e-05/0.3968, allocations: 0 / 0.5657 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.3968, allocations: 3.938 kB / 0.5657 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.3968, allocations: 7.938 kB / 0.5657 GB, free: 12.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.607e-05/0.3969, allocations: 83.27 kB / 0.5658 GB, free: 12.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3969, allocations: 0 / 0.5658 GB, free: 12.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001309/0.3982, allocations: 451.3 kB / 0.5662 GB, free: 11.67 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.002275/0.4005, allocations: 1.287 MB / 0.5675 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.4007, allocations: 83.86 kB / 0.5676 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4007, allocations: 4.125 kB / 0.5676 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.4008, allocations: 87.97 kB / 0.5677 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.4011, allocations: 15.92 kB / 0.5677 GB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.4021, allocations: 469.2 kB / 0.5681 GB, free: 9.664 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.4025, allocations: 0.7125 MB / 0.5688 GB, free: 8.926 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.226e-05/0.4026, allocations: 27.95 kB / 0.5688 GB, free: 8.898 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.4027, allocations: 27.44 kB / 0.5689 GB, free: 8.871 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4027, allocations: 0 / 0.5689 GB, free: 8.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04391/0.4466, allocations: 15.64 MB / 0.5841 GB, free: 9.312 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.501/8.947, allocations: 13 kB / 0.5842 GB, free: 9.301 MB / 446.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)