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.001797/0.001797, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001953/0.001953, allocations: 202 kB / 18.73 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.477/1.477, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 46.11 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 83.86 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3536, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01476/0.3684, allocations: 8.412 MB / 0.5388 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01828/0.3867, allocations: 13 MB / 0.5515 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.3869, allocations: 4 kB / 0.5515 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.3872, allocations: 35.81 kB / 0.5516 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008244/0.3955, allocations: 2.116 MB / 0.5536 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.181e-05/0.3955, allocations: 0 / 0.5536 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.3957, allocations: 51.61 kB / 0.5537 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.3957, allocations: 8 kB / 0.5537 GB, free: 9.988 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.3959, allocations: 27.84 kB / 0.5537 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.464e-05/0.3959, allocations: 15.94 kB / 0.5537 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.3959, allocations: 7.938 kB / 0.5537 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.013/0.4089, allocations: 6.012 MB / 0.5596 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.409, allocations: 4 kB / 0.5596 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.029e-05/0.4091, allocations: 23.86 kB / 0.5596 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01624/0.4254, allocations: 4.787 MB / 0.5643 GB, free: 15.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.4254, allocations: 0 / 0.5643 GB, free: 15.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4254, allocations: 0 / 0.5643 GB, free: 15.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.4254, allocations: 0 / 0.5643 GB, free: 15.09 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.003135/0.4286, allocations: 0.6412 MB / 0.5649 GB, free: 14.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.4286, allocations: 8.031 kB / 0.5649 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.856e-05/0.4287, allocations: 42.55 kB / 0.565 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.4288, allocations: 4 kB / 0.565 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.429, allocations: 171 kB / 0.5651 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.429, allocations: 0 / 0.5651 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.429, allocations: 8 kB / 0.5651 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.4294, allocations: 113.5 kB / 0.5653 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.4294, allocations: 4 kB / 0.5653 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.4295, allocations: 11.98 kB / 0.5653 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.4295, allocations: 0 / 0.5653 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/0.4298, allocations: 123.8 kB / 0.5654 GB, free: 13.87 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.0006083/0.4304, allocations: 352.6 kB / 0.5657 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.4307, allocations: 70.53 kB / 0.5658 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.4309, allocations: 40.84 kB / 0.5658 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003883/0.4348, allocations: 2.123 MB / 0.5679 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.4348, allocations: 30.56 kB / 0.5679 GB, free: 10.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 5.861e-06/0.4348, allocations: 0 / 0.5679 GB, free: 10.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007313/0.4356, allocations: 153.5 kB / 0.5681 GB, free: 10.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.4356, allocations: 51.41 kB / 0.5681 GB, free: 10.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.642e-05/0.4357, allocations: 101.8 kB / 0.5682 GB, free: 10.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.4358, allocations: 25.7 kB / 0.5683 GB, free: 10.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.4358, allocations: 99.98 kB / 0.5683 GB, free: 10.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.4359, allocations: 19.78 kB / 0.5684 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.4359, allocations: 25.72 kB / 0.5684 GB, free: 10.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4361, allocations: 326.7 kB / 0.5687 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.4363, allocations: 27.97 kB / 0.5687 GB, free: 10.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.4364, allocations: 37.7 kB / 0.5688 GB, free: 9.969 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.4366, allocations: 66.09 kB / 0.5688 GB, free: 9.898 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.4366, allocations: 4 kB / 0.5688 GB, free: 9.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003407/0.4369, allocations: 105.6 kB / 0.5689 GB, free: 9.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.437, allocations: 8 kB / 0.5689 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.437, allocations: 4 kB / 0.5689 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.437, allocations: 0 / 0.5689 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.4371, allocations: 23.98 kB / 0.569 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4371, allocations: 0 / 0.569 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.052e-05/0.4372, allocations: 7.984 kB / 0.569 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.4373, allocations: 7.984 kB / 0.569 GB, free: 9.734 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 0.0001039/0.4374, allocations: 117.8 kB / 0.5691 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.4374, allocations: 4 kB / 0.5691 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005662/0.438, allocations: 259.4 kB / 0.5693 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.438, allocations: 0 / 0.5693 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.438, allocations: 4.125 kB / 0.5693 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4381, allocations: 3.984 kB / 0.5694 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.4384, allocations: 233.5 kB / 0.5696 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4384, allocations: 0 / 0.5696 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.173e-05/0.4385, allocations: 19.98 kB / 0.5696 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.4385, allocations: 0 / 0.5696 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.4385, allocations: 4 kB / 0.5696 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4385, allocations: 0 / 0.5696 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4385, allocations: 4 kB / 0.5696 GB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.4389, allocations: 259.2 kB / 0.5698 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.439, allocations: 89 kB / 0.5699 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.439, allocations: 3.984 kB / 0.5699 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.4391, allocations: 4 kB / 0.5699 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.4392, allocations: 11.98 kB / 0.57 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.4392, allocations: 8 kB / 0.57 GB, free: 8.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.865e-05/0.4393, allocations: 75.28 kB / 0.57 GB, free: 8.559 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4393, allocations: 0 / 0.57 GB, free: 8.559 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002414/0.4417, allocations: 382.9 kB / 0.5704 GB, free: 8.184 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.01368/0.4554, allocations: 4.258 MB / 0.5746 GB, free: 3.895 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004453/0.4559, allocations: 87.95 kB / 0.5746 GB, free: 3.809 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4559, allocations: 4.062 kB / 0.5746 GB, free: 3.805 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.4561, allocations: 75.86 kB / 0.5747 GB, free: 3.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.4564, allocations: 15.98 kB / 0.5747 GB, free: 3.715 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.4588, allocations: 460.4 kB / 0.5752 GB, free: 3.227 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.4592, allocations: 0.7001 MB / 0.5759 GB, free: 2.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001588/0.4593, allocations: 55.61 kB / 0.5759 GB, free: 2.445 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/0.4594, allocations: 27.42 kB / 0.5759 GB, free: 2.418 MB / 430.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4594, allocations: 0 / 0.5759 GB, free: 2.418 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04994/0.5094, allocations: 18.07 MB / 0.5936 GB, free: 416 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.072/9.581, allocations: 0.8906 kB / 0.5936 GB, free: 416 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1)