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.001416/0.001416, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 204.6 kB / 18.73 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 72.2 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3068, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01259/0.3195, allocations: 8.399 MB / 0.5388 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.3348, allocations: 13.01 MB / 0.5515 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.468e-05/0.3349, allocations: 0 / 0.5515 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.3352, allocations: 39.78 kB / 0.5515 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006457/0.3416, allocations: 2.115 MB / 0.5536 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.689e-06/0.3417, allocations: 0 / 0.5536 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.3418, allocations: 51.61 kB / 0.5536 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.3418, allocations: 4 kB / 0.5536 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.342, allocations: 27.86 kB / 0.5537 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.342, allocations: 23.91 kB / 0.5537 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.342, allocations: 0 / 0.5537 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01172/0.3538, allocations: 6.012 MB / 0.5596 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.3538, allocations: 7.938 kB / 0.5596 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.039e-05/0.3539, allocations: 19.81 kB / 0.5596 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01538/0.3693, allocations: 4.795 MB / 0.5643 GB, free: 15.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3693, allocations: 4 kB / 0.5643 GB, free: 15.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3693, allocations: 0 / 0.5643 GB, free: 15.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.3693, allocations: 0 / 0.5643 GB, free: 15.16 MB / 430.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.00285/0.3722, allocations: 0.6294 MB / 0.5649 GB, free: 14.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3723, allocations: 12.03 kB / 0.5649 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.3723, allocations: 38.56 kB / 0.5649 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.3724, allocations: 8 kB / 0.5649 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3726, allocations: 167 kB / 0.5651 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.3726, allocations: 8 kB / 0.5651 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.3726, allocations: 7.938 kB / 0.5651 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.373, allocations: 117.5 kB / 0.5652 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.373, allocations: 0 / 0.5652 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.373, allocations: 0 / 0.5652 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.373, allocations: 0 / 0.5652 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.3734, allocations: 127.9 kB / 0.5653 GB, free: 13.95 MB / 430.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.0005585/0.3739, allocations: 344.7 kB / 0.5657 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.3742, allocations: 78.47 kB / 0.5658 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.3744, allocations: 48.8 kB / 0.5658 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00379/0.3782, allocations: 2.131 MB / 0.5679 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.3782, allocations: 30.56 kB / 0.5679 GB, free: 10.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.3782, allocations: 0 / 0.5679 GB, free: 10.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006592/0.3789, allocations: 145.5 kB / 0.568 GB, free: 10.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.3789, allocations: 59.41 kB / 0.5681 GB, free: 10.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.379, allocations: 89.86 kB / 0.5682 GB, free: 10.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.508e-05/0.3791, allocations: 33.7 kB / 0.5682 GB, free: 10.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.3792, allocations: 91.98 kB / 0.5683 GB, free: 10.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.3792, allocations: 27.78 kB / 0.5683 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.3792, allocations: 25.7 kB / 0.5684 GB, free: 10.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3794, allocations: 318.8 kB / 0.5687 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.3795, allocations: 23.98 kB / 0.5687 GB, free: 10.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.3796, allocations: 41.69 kB / 0.5687 GB, free: 10.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.3798, allocations: 69.69 kB / 0.5688 GB, free: 9.969 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3799, allocations: 3.938 kB / 0.5688 GB, free: 9.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003033/0.3802, allocations: 101.7 kB / 0.5689 GB, free: 9.859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3802, allocations: 4 kB / 0.5689 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3802, allocations: 0 / 0.5689 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3802, allocations: 4 kB / 0.5689 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3803, allocations: 19.92 kB / 0.5689 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.3804, allocations: 3.984 kB / 0.5689 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.016e-05/0.3804, allocations: 7.953 kB / 0.5689 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.3804, allocations: 7.938 kB / 0.5689 GB, free: 9.812 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 (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 8.818e-05/0.3805, allocations: 117.8 kB / 0.5691 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.3806, allocations: 4 kB / 0.5691 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005039/0.3811, allocations: 249.3 kB / 0.5693 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.3811, allocations: 7.984 kB / 0.5693 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3811, allocations: 8 kB / 0.5693 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.3812, allocations: 0 / 0.5693 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.3814, allocations: 229.5 kB / 0.5695 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3814, allocations: 0 / 0.5695 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.503e-05/0.3815, allocations: 23.98 kB / 0.5695 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3816, allocations: 0 / 0.5695 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3816, allocations: 0 / 0.5695 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3816, allocations: 4 kB / 0.5696 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/0.3816, allocations: 3.984 kB / 0.5696 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.382, allocations: 255.3 kB / 0.5698 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.3821, allocations: 89 kB / 0.5699 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.3821, allocations: 0 / 0.5699 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/0.3822, allocations: 11.94 kB / 0.5699 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.3822, allocations: 11.92 kB / 0.5699 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.3822, allocations: 7.984 kB / 0.5699 GB, free: 8.711 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.768e-05/0.3823, allocations: 87.28 kB / 0.57 GB, free: 8.625 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3823, allocations: 0 / 0.57 GB, free: 8.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001912/0.3842, allocations: 374.9 kB / 0.5704 GB, free: 8.258 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 ($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.01311/0.3973, allocations: 4.251 MB / 0.5745 GB, free: 3.977 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000441/0.3978, allocations: 99.88 kB / 0.5746 GB, free: 3.879 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3978, allocations: 0 / 0.5746 GB, free: 3.879 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.398, allocations: 75.92 kB / 0.5747 GB, free: 3.805 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.3984, allocations: 24.12 kB / 0.5747 GB, free: 3.781 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.4004, allocations: 442.1 kB / 0.5751 GB, free: 3.309 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.4009, allocations: 0.7079 MB / 0.5758 GB, free: 2.574 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.401, allocations: 47.61 kB / 0.5759 GB, free: 2.527 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.483e-05/0.4011, allocations: 31.42 kB / 0.5759 GB, free: 2.496 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4011, allocations: 4 kB / 0.5759 GB, free: 2.492 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06144/0.4626, allocations: 18.06 MB / 0.5935 GB, free: 496 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.34/9.802, allocations: 12.88 kB / 0.5935 GB, free: 484 kB / 446.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)