Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_phX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001287/0.001287, allocations: 104.6 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.001289/0.001289, 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.442/1.442, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 82.14 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1166, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01259/0.1293, allocations: 8.411 MB / 488.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01471/0.144, allocations: 13 MB / 0.4899 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.1441, allocations: 0 / 0.4899 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.1443, allocations: 35.81 kB / 0.4899 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005989/0.1503, allocations: 2.112 MB / 0.492 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.14e-05/0.1504, allocations: 0 / 0.492 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.1505, allocations: 55.61 kB / 0.492 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.1506, allocations: 3.984 kB / 0.492 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1507, allocations: 27.88 kB / 0.4921 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.169e-05/0.1508, allocations: 19.91 kB / 0.4921 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.1508, allocations: 0 / 0.4921 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/0.1619, allocations: 5.988 MB / 0.4979 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.1619, allocations: 7.984 kB / 0.4979 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.487e-05/0.162, allocations: 15.88 kB / 0.4979 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.1756, allocations: 4.792 MB / 0.5026 GB, free: 2.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1757, allocations: 0 / 0.5026 GB, free: 2.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1757, allocations: 0 / 0.5026 GB, free: 2.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1757, allocations: 4 kB / 0.5026 GB, free: 2.547 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.002756/0.1785, allocations: 0.6121 MB / 0.5032 GB, free: 1.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1785, allocations: 15.97 kB / 0.5032 GB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.1786, allocations: 42.55 kB / 0.5033 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.1787, allocations: 4 kB / 0.5033 GB, free: 1.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1788, allocations: 174.9 kB / 0.5034 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.1789, allocations: 4 kB / 0.5035 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.1789, allocations: 3.984 kB / 0.5035 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.1792, allocations: 117.6 kB / 0.5036 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1792, allocations: 4 kB / 0.5036 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.1793, allocations: 0 / 0.5036 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1793, allocations: 4 kB / 0.5036 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.1796, allocations: 123.9 kB / 0.5037 GB, free: 1.348 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.0005625/0.1802, allocations: 348.5 kB / 0.504 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.1805, allocations: 82.52 kB / 0.5041 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.1806, allocations: 36.84 kB / 0.5041 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1838/0.3644, allocations: 2.124 MB / 0.5062 GB, free: 38.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.3645, allocations: 32.94 kB / 0.5062 GB, free: 38.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.3645, allocations: 0.9688 kB / 0.5062 GB, free: 38.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006732/0.3652, allocations: 145.8 kB / 0.5064 GB, free: 38.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.3652, allocations: 53 kB / 0.5064 GB, free: 38.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.194e-05/0.3653, allocations: 95.98 kB / 0.5065 GB, free: 38.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.3653, allocations: 30.06 kB / 0.5066 GB, free: 38.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.821e-05/0.3653, allocations: 96.61 kB / 0.5066 GB, free: 38.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.3653, allocations: 22.47 kB / 0.5067 GB, free: 38.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.3654, allocations: 26.17 kB / 0.5067 GB, free: 38.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.3654, allocations: 315.2 kB / 0.507 GB, free: 38.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.3655, allocations: 30.33 kB / 0.507 GB, free: 38.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.3656, allocations: 41.69 kB / 0.5071 GB, free: 38.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.3658, allocations: 65.77 kB / 0.5071 GB, free: 38.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3659, allocations: 4.5 kB / 0.5071 GB, free: 38.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002742/0.3661, allocations: 104.3 kB / 0.5072 GB, free: 38.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3662, allocations: 14.09 kB / 0.5072 GB, free: 38.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3662, allocations: 0.5 kB / 0.5072 GB, free: 38.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3662, allocations: 1.688 kB / 0.5072 GB, free: 38.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.3663, allocations: 17.62 kB / 0.5073 GB, free: 38.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3663, allocations: 8.391 kB / 0.5073 GB, free: 38.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.879e-05/0.3664, allocations: 12.94 kB / 0.5073 GB, free: 38.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.3664, allocations: 3.938 kB / 0.5073 GB, free: 38.03 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 (8): * Single equations (assignments): 8 * 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 5.172e-05/0.3665, allocations: 116.6 kB / 0.5074 GB, free: 37.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.3665, allocations: 6.797 kB / 0.5074 GB, free: 37.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.367, allocations: 252.8 kB / 0.5076 GB, free: 37.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.367, allocations: 4.062 kB / 0.5077 GB, free: 37.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.367, allocations: 0 / 0.5077 GB, free: 37.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.367, allocations: 0.6094 kB / 0.5077 GB, free: 37.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.3672, allocations: 233.1 kB / 0.5079 GB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3672, allocations: 0 / 0.5079 GB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.062e-05/0.3673, allocations: 19.83 kB / 0.5079 GB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3673, allocations: 0.9375 kB / 0.5079 GB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3673, allocations: 9.094 kB / 0.5079 GB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.3673, allocations: 1.719 kB / 0.5079 GB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3673, allocations: 0 / 0.5079 GB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.3677, allocations: 254.5 kB / 0.5081 GB, free: 37.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.3677, allocations: 87.25 kB / 0.5082 GB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.3677, allocations: 4.719 kB / 0.5082 GB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.3678, allocations: 8.281 kB / 0.5082 GB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.3678, allocations: 12.81 kB / 0.5083 GB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.3679, allocations: 4.969 kB / 0.5083 GB, free: 37.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.883e-05/0.3679, allocations: 78.98 kB / 0.5083 GB, free: 37.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3679, allocations: 0.6875 kB / 0.5083 GB, free: 37.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001915/0.3698, allocations: 370.3 kB / 0.5087 GB, free: 37.34 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 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.01717/0.387, allocations: 4.25 MB / 0.5128 GB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003953/0.3874, allocations: 102.9 kB / 0.5129 GB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3874, allocations: 0.8125 kB / 0.5129 GB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.3876, allocations: 75.09 kB / 0.513 GB, free: 35.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.388, allocations: 23.42 kB / 0.513 GB, free: 35.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.3898, allocations: 429.6 kB / 0.5134 GB, free: 34.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.39, allocations: 0.6982 MB / 0.5141 GB, free: 34.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.3901, allocations: 49.33 kB / 0.5142 GB, free: 34.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.3902, allocations: 31.69 kB / 0.5142 GB, free: 34.12 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3902, allocations: 3.938 kB / 0.5142 GB, free: 34.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04893/0.4391, allocations: 18.05 MB / 0.5318 GB, free: 26.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.835/9.274, allocations: 3.938 kB / 0.5318 GB, free: 26.1 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1)