Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001778/0.001778, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00205/0.00205, allocations: 203.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247 MB, free: 10.41 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.2237/0.2237, allocations: 46.12 MB / 344.4 MB, free: 11.46 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.003523/0.003524, allocations: 75.88 kB / 480.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3443, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01155/0.3559, allocations: 8.412 MB / 0.5388 GB, free: 6.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01303/0.369, allocations: 11.13 MB / 0.5497 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.271e-05/0.3691, allocations: 0 / 0.5497 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.3694, allocations: 36.3 kB / 0.5497 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005801/0.3752, allocations: 1.8 MB / 0.5515 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.21e-05/0.3753, allocations: 4 kB / 0.5515 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.3754, allocations: 47.67 kB / 0.5515 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.3754, allocations: 7.938 kB / 0.5515 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.3756, allocations: 27.86 kB / 0.5516 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.75e-05/0.3756, allocations: 31.84 kB / 0.5516 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.3757, allocations: 0 / 0.5516 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0119/0.3876, allocations: 6.651 MB / 0.5581 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.3876, allocations: 3.938 kB / 0.5581 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.896e-05/0.3877, allocations: 19.92 kB / 0.5581 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.4014, allocations: 4.635 MB / 0.5626 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4014, allocations: 0 / 0.5626 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4014, allocations: 4 kB / 0.5626 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.4014, allocations: 0 / 0.5626 GB, free: 0.8398 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.002382/0.4038, allocations: 0.5789 MB / 0.5632 GB, free: 216 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.4039, allocations: 12.03 kB / 0.5632 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.4039, allocations: 38.55 kB / 0.5632 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.404, allocations: 4 kB / 0.5632 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.4042, allocations: 175 kB / 0.5634 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4042, allocations: 4 kB / 0.5634 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.4042, allocations: 4 kB / 0.5634 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.4044, allocations: 77.56 kB / 0.5635 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4044, allocations: 3.984 kB / 0.5635 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.4044, allocations: 8 kB / 0.5635 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.4044, allocations: 0 / 0.5635 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.4045, allocations: 75.95 kB / 0.5636 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.4049, allocations: 324.7 kB / 0.5639 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.547e-05/0.405, allocations: 46.5 kB / 0.5639 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.402e-05/0.4051, allocations: 32.92 kB / 0.564 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00328/0.4084, allocations: 1.842 MB / 0.5658 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.4084, allocations: 34.5 kB / 0.5658 GB, free: 13.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.4084, allocations: 0 / 0.5658 GB, free: 13.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003052/0.4087, allocations: 117.6 kB / 0.5659 GB, free: 13.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.4088, allocations: 59.41 kB / 0.566 GB, free: 12.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.763e-05/0.4089, allocations: 97.86 kB / 0.5661 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.4089, allocations: 25.7 kB / 0.5661 GB, free: 12.83 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.409, allocations: 92.08 kB / 0.5662 GB, free: 12.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.409, allocations: 23.75 kB / 0.5662 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.4091, allocations: 29.7 kB / 0.5662 GB, free: 12.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4092, allocations: 314.8 kB / 0.5665 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.427e-05/0.4093, allocations: 27.98 kB / 0.5665 GB, free: 12.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-05/0.4094, allocations: 41.64 kB / 0.5666 GB, free: 12.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.242e-05/0.4094, allocations: 53.84 kB / 0.5666 GB, free: 12.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4095, allocations: 4 kB / 0.5666 GB, free: 12.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001882/0.4097, allocations: 97.58 kB / 0.5667 GB, free: 12.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.4097, allocations: 8 kB / 0.5667 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4097, allocations: 0 / 0.5667 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4097, allocations: 4.031 kB / 0.5667 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.011e-05/0.4098, allocations: 11.98 kB / 0.5668 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4098, allocations: 384 / 0.5668 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.832e-05/0.4098, allocations: 4 kB / 0.5668 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.4098, allocations: 3.938 kB / 0.5668 GB, free: 12.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.707e-05/0.4099, allocations: 117.8 kB / 0.5669 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.41, allocations: 11.89 kB / 0.5669 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.4102, allocations: 145.6 kB / 0.567 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001491/0.4104, allocations: 121.6 kB / 0.5671 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4104, allocations: 0 / 0.5671 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4104, allocations: 3.984 kB / 0.5672 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005213/0.411, allocations: 437.3 kB / 0.5676 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.411, allocations: 192 / 0.5676 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.411, allocations: 16 kB / 0.5676 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.411, allocations: 11.88 kB / 0.5676 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.4111, allocations: 0 / 0.5676 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4111, allocations: 0 / 0.5676 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4111, allocations: 7.984 kB / 0.5676 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.4113, allocations: 223.4 kB / 0.5678 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.4114, allocations: 85.06 kB / 0.5679 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.4114, allocations: 3.938 kB / 0.5679 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.4115, allocations: 0 / 0.5679 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.4115, allocations: 11.98 kB / 0.5679 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.4115, allocations: 4 kB / 0.5679 GB, free: 10.81 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.99e-05/0.4116, allocations: 83.47 kB / 0.568 GB, free: 10.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4116, allocations: 0 / 0.568 GB, free: 10.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001694/0.4133, allocations: 355 kB / 0.5683 GB, free: 10.38 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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.01295/0.4262, allocations: 4.376 MB / 0.5726 GB, free: 5.969 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003783/0.4266, allocations: 113.7 kB / 0.5727 GB, free: 5.852 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.4267, allocations: 0 / 0.5727 GB, free: 5.852 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.274e-05/0.4268, allocations: 64.05 kB / 0.5728 GB, free: 5.789 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.4273, allocations: 35.89 kB / 0.5728 GB, free: 5.754 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.4293, allocations: 405.5 kB / 0.5732 GB, free: 5.316 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.4297, allocations: 0.7 MB / 0.5739 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.449e-05/0.4298, allocations: 19.86 kB / 0.5739 GB, free: 4.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.4299, allocations: 27.44 kB / 0.5739 GB, free: 4.543 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4299, allocations: 0 / 0.5739 GB, free: 4.543 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04725/0.4771, allocations: 19.95 MB / 0.5934 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.837/9.314, allocations: 12.33 kB / 0.5934 GB, free: 0.6641 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1)