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.001629/0.001629, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001984/0.001984, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2248/0.2248, allocations: 46.12 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.002255/0.002255, allocations: 84.28 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1175, allocations: 62.43 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01262/0.1301, allocations: 8.421 MB / 488.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.1426, allocations: 11.13 MB / 499.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.1427, allocations: 0 / 499.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.1431, allocations: 35.81 kB / 499.8 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005265/0.1483, allocations: 1.808 MB / 0.4898 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.486e-06/0.1484, allocations: 4 kB / 0.4898 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.1485, allocations: 47.62 kB / 0.4899 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.1485, allocations: 11.98 kB / 0.4899 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.1487, allocations: 27.88 kB / 0.4899 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.68e-05/0.1487, allocations: 23.91 kB / 0.4899 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.998e-06/0.1488, allocations: 0 / 0.4899 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01097/0.1597, allocations: 6.627 MB / 0.4964 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.1598, allocations: 15.88 kB / 0.4964 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.1599, allocations: 19.92 kB / 0.4964 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01353/0.1734, allocations: 4.64 MB / 0.501 GB, free: 4.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1734, allocations: 0 / 0.501 GB, free: 4.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1735, allocations: 0 / 0.501 GB, free: 4.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1735, allocations: 0 / 0.501 GB, free: 4.227 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.00244/0.1759, allocations: 0.5576 MB / 0.5015 GB, free: 3.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.176, allocations: 8.031 kB / 0.5015 GB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.176, allocations: 38.56 kB / 0.5016 GB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.1761, allocations: 7.984 kB / 0.5016 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.1763, allocations: 171 kB / 0.5017 GB, free: 3.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1763, allocations: 4 kB / 0.5017 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.1763, allocations: 4 kB / 0.5017 GB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1764, allocations: 81.55 kB / 0.5018 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1765, allocations: 0 / 0.5018 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.1765, allocations: 4 kB / 0.5018 GB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.1765, allocations: 3.984 kB / 0.5018 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1766, allocations: 71.97 kB / 0.5019 GB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.1771, allocations: 320.7 kB / 0.5022 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.063e-05/0.1771, allocations: 46.58 kB / 0.5023 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.1772, allocations: 36.94 kB / 0.5023 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003402/0.1806, allocations: 1.842 MB / 0.5041 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.1807, allocations: 34.56 kB / 0.5041 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.674e-06/0.1807, allocations: 0 / 0.5041 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002997/0.181, allocations: 117.5 kB / 0.5042 GB, free: 468 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.181, allocations: 51.41 kB / 0.5043 GB, free: 404 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.1811, allocations: 101.8 kB / 0.5044 GB, free: 292 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1811, allocations: 29.98 kB / 0.5044 GB, free: 256 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.1812, allocations: 92.05 kB / 0.5045 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.1812, allocations: 23.77 kB / 0.5045 GB, free: 136 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.1813, allocations: 33.48 kB / 0.5045 GB, free: 96 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.2173/0.3986, allocations: 318 kB / 0.5049 GB, free: 39.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.991e-05/0.3987, allocations: 19.8 kB / 0.5049 GB, free: 39.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.3988, allocations: 34.45 kB / 0.5049 GB, free: 39.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.3989, allocations: 62.34 kB / 0.505 GB, free: 39.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.399, allocations: 0 / 0.505 GB, free: 39.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002262/0.3992, allocations: 95.53 kB / 0.5051 GB, free: 39.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3992, allocations: 7.594 kB / 0.5051 GB, free: 39.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3992, allocations: 0.7812 kB / 0.5051 GB, free: 39.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3993, allocations: 0.7188 kB / 0.5051 GB, free: 39.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.556e-05/0.3994, allocations: 16.81 kB / 0.5051 GB, free: 39.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3994, allocations: 5.344 kB / 0.5051 GB, free: 39.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.822e-05/0.3994, allocations: 2.328 kB / 0.5051 GB, free: 39.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.3994, allocations: 5.594 kB / 0.5051 GB, free: 39.85 MB / 382.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 7.1e-05/0.3995, allocations: 112.4 kB / 0.5052 GB, free: 39.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.3996, allocations: 4.719 kB / 0.5052 GB, free: 39.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.3998, allocations: 154.3 kB / 0.5053 GB, free: 39.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001493/0.4, allocations: 120.9 kB / 0.5055 GB, free: 39.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4, allocations: 4.75 kB / 0.5055 GB, free: 39.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4, allocations: 2.719 kB / 0.5055 GB, free: 39.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.4005, allocations: 435.1 kB / 0.5059 GB, free: 39.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4005, allocations: 1.312 kB / 0.5059 GB, free: 39.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.4005, allocations: 15.25 kB / 0.5059 GB, free: 39.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4005, allocations: 0 / 0.5059 GB, free: 39.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.4006, allocations: 5.969 kB / 0.5059 GB, free: 39.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4006, allocations: 1.125 kB / 0.5059 GB, free: 39.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4006, allocations: 3.938 kB / 0.5059 GB, free: 39.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.4008, allocations: 225.2 kB / 0.5061 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.4008, allocations: 82.75 kB / 0.5062 GB, free: 39.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.4008, allocations: 2.969 kB / 0.5062 GB, free: 39.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.318e-05/0.4009, allocations: 1 kB / 0.5062 GB, free: 39.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.4009, allocations: 13.06 kB / 0.5062 GB, free: 39.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.4009, allocations: 3.375 kB / 0.5062 GB, free: 39.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.134e-05/0.4009, allocations: 79.27 kB / 0.5063 GB, free: 39.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.401, allocations: 0 / 0.5063 GB, free: 39.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001875/0.4028, allocations: 355 kB / 0.5066 GB, free: 39.05 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: 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.0175/0.4203, allocations: 4.377 MB / 0.5109 GB, free: 36.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.4206, allocations: 117.2 kB / 0.511 GB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.4207, allocations: 0 / 0.511 GB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.606e-05/0.4207, allocations: 60.03 kB / 0.5111 GB, free: 36.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.4212, allocations: 40.59 kB / 0.5111 GB, free: 36.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.4228, allocations: 399.8 kB / 0.5115 GB, free: 36.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.423, allocations: 0.6937 MB / 0.5122 GB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.212e-05/0.4231, allocations: 16 kB / 0.5122 GB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.4231, allocations: 27.53 kB / 0.5122 GB, free: 35.74 MB / 382.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4231, allocations: 0 / 0.5122 GB, free: 35.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05376/0.4769, allocations: 19.91 MB / 0.5317 GB, free: 26.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.015/9.492, allocations: 15.56 kB / 0.5317 GB, free: 26.34 MB / 382.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)