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.001433/0.001433, allocations: 102.8 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.002187/0.002187, 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.527/1.527, 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 trunk/package.mo): time 0.2341/0.2341, allocations: 46.12 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 75.5 kB / 417.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1104, allocations: 62.45 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01264/0.1231, allocations: 8.418 MB / 488.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.1381, allocations: 12.99 MB / 0.4898 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.1382, allocations: 8 kB / 0.4898 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.1384, allocations: 39.78 kB / 0.4899 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005514/0.1439, allocations: 2.105 MB / 0.4919 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.318e-06/0.144, allocations: 4 kB / 0.4919 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.658e-05/0.1441, allocations: 51.61 kB / 0.492 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.1441, allocations: 7.938 kB / 0.492 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.1442, allocations: 27.84 kB / 0.492 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.553e-05/0.1443, allocations: 15.94 kB / 0.492 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.1443, allocations: 4 kB / 0.492 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/0.1546, allocations: 5.985 MB / 0.4979 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.1547, allocations: 4 kB / 0.4979 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.1547, allocations: 27.81 kB / 0.4979 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.169, allocations: 4.784 MB / 0.5026 GB, free: 2.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1691, allocations: 0 / 0.5026 GB, free: 2.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1691, allocations: 0 / 0.5026 GB, free: 2.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1691, allocations: 0 / 0.5026 GB, free: 2.543 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.003394/0.1725, allocations: 0.6238 MB / 0.5032 GB, free: 1.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1725, allocations: 8.031 kB / 0.5032 GB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.1726, allocations: 30.56 kB / 0.5032 GB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.1728, allocations: 19.98 kB / 0.5033 GB, free: 1.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.1729, allocations: 166.9 kB / 0.5034 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.173, allocations: 4 kB / 0.5034 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.173, allocations: 8 kB / 0.5034 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.1734, allocations: 117.5 kB / 0.5035 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1734, allocations: 0 / 0.5035 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1734, allocations: 4 kB / 0.5035 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1734, allocations: 0 / 0.5035 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.1738, allocations: 123.9 kB / 0.5037 GB, free: 1.344 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.0005961/0.1744, allocations: 352.5 kB / 0.504 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.1747, allocations: 78.45 kB / 0.5041 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.1749, allocations: 44.84 kB / 0.5041 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1778/0.3526, allocations: 2.117 MB / 0.5062 GB, free: 38.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.3527, allocations: 38.31 kB / 0.5062 GB, free: 38.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.926e-06/0.3527, allocations: 0 / 0.5062 GB, free: 38.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007042/0.3534, allocations: 143 kB / 0.5064 GB, free: 38.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.3535, allocations: 52.66 kB / 0.5064 GB, free: 38.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.348e-05/0.3535, allocations: 99.44 kB / 0.5065 GB, free: 38.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.3536, allocations: 26.73 kB / 0.5065 GB, free: 38.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.3536, allocations: 92.23 kB / 0.5066 GB, free: 38.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.3536, allocations: 25.22 kB / 0.5066 GB, free: 38.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.3537, allocations: 28.14 kB / 0.5067 GB, free: 38.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.3538, allocations: 317.8 kB / 0.507 GB, free: 38.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.3539, allocations: 24.75 kB / 0.507 GB, free: 38.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.354, allocations: 40.23 kB / 0.507 GB, free: 38.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.3542, allocations: 71.92 kB / 0.5071 GB, free: 38.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3542, allocations: 0 / 0.5071 GB, free: 38.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003006/0.3545, allocations: 103.8 kB / 0.5072 GB, free: 38.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3546, allocations: 11.08 kB / 0.5072 GB, free: 38.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3546, allocations: 2.141 kB / 0.5072 GB, free: 38.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.3546, allocations: 2.406 kB / 0.5072 GB, free: 38.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3547, allocations: 19.89 kB / 0.5072 GB, free: 38.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.3547, allocations: 1.781 kB / 0.5072 GB, free: 38.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.32e-05/0.3548, allocations: 5.344 kB / 0.5072 GB, free: 38.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.3548, allocations: 12.92 kB / 0.5072 GB, free: 38.07 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 6.786e-05/0.3549, allocations: 115.9 kB / 0.5074 GB, free: 37.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.355, allocations: 9.688 kB / 0.5074 GB, free: 37.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005258/0.3555, allocations: 254 kB / 0.5076 GB, free: 37.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3555, allocations: 2 kB / 0.5076 GB, free: 37.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3555, allocations: 0 / 0.5076 GB, free: 37.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3555, allocations: 0.6562 kB / 0.5076 GB, free: 37.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.3557, allocations: 232 kB / 0.5078 GB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3558, allocations: 1.578 kB / 0.5078 GB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.463e-05/0.3559, allocations: 27.19 kB / 0.5079 GB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3559, allocations: 0.7188 kB / 0.5079 GB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3559, allocations: 2.188 kB / 0.5079 GB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3559, allocations: 1.875 kB / 0.5079 GB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3559, allocations: 0 / 0.5079 GB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.3563, allocations: 263.7 kB / 0.5081 GB, free: 37.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.489e-05/0.3563, allocations: 86.64 kB / 0.5082 GB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.3563, allocations: 2.312 kB / 0.5082 GB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.3564, allocations: 2.922 kB / 0.5082 GB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.3564, allocations: 12.97 kB / 0.5082 GB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3565, allocations: 3.906 kB / 0.5082 GB, free: 37.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.204e-05/0.3565, allocations: 83.39 kB / 0.5083 GB, free: 37.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3565, allocations: 3.5 kB / 0.5083 GB, free: 37.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002502/0.359, allocations: 365.3 kB / 0.5087 GB, free: 37.38 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.0173/0.3763, allocations: 4.248 MB / 0.5128 GB, free: 35.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004325/0.3768, allocations: 107 kB / 0.5129 GB, free: 35.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3768, allocations: 0 / 0.5129 GB, free: 35.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.377, allocations: 75.52 kB / 0.513 GB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.3773, allocations: 18.3 kB / 0.513 GB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.3792, allocations: 435.4 kB / 0.5134 GB, free: 34.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.3794, allocations: 0.6989 MB / 0.5141 GB, free: 34.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.3795, allocations: 49.64 kB / 0.5141 GB, free: 34.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.3796, allocations: 31.23 kB / 0.5142 GB, free: 34.15 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3796, allocations: 3.938 kB / 0.5142 GB, free: 34.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04694/0.4265, allocations: 18.05 MB / 0.5318 GB, free: 26.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.926/9.352, allocations: 11.97 kB / 0.5318 GB, free: 26.11 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 & /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)