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.00164/0.00164, allocations: 116.4 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001715/0.001715, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 227.4 MB / 246.5 MB, free: 9.035 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.13 MB / 343.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004072/0.004072, allocations: 77.89 kB / 417.2 MB, free: 19.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.154, allocations: 62.45 MB / 479.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01385/0.1679, allocations: 8.428 MB / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.1824, allocations: 12.93 MB / 0.4893 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.1825, allocations: 0 / 0.4893 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.1827, allocations: 35.8 kB / 0.4893 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00601/0.1888, allocations: 1.859 MB / 0.4912 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.426e-06/0.1888, allocations: 0 / 0.4912 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.1889, allocations: 51.62 kB / 0.4912 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.189, allocations: 3.984 kB / 0.4912 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.1891, allocations: 31.86 kB / 0.4912 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.747e-05/0.1892, allocations: 15.92 kB / 0.4913 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.1892, allocations: 0 / 0.4913 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01867/0.2078, allocations: 13.19 MB / 0.5041 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.2079, allocations: 4 kB / 0.5041 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.824e-05/0.208, allocations: 19.88 kB / 0.5042 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2311/0.4391, allocations: 8.311 MB / 0.5123 GB, free: 21.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.4392, allocations: 1 kB / 0.5123 GB, free: 21.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4392, allocations: 0 / 0.5123 GB, free: 21.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.4392, allocations: 0 / 0.5123 GB, free: 21.92 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.005673/0.4449, allocations: 0.6191 MB / 0.5129 GB, free: 21.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4449, allocations: 10.72 kB / 0.5129 GB, free: 21.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/0.445, allocations: 37.64 kB / 0.5129 GB, free: 21.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.4451, allocations: 15.64 kB / 0.5129 GB, free: 21.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.94e-05/0.4452, allocations: 165.4 kB / 0.5131 GB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.4452, allocations: 7.031 kB / 0.5131 GB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.4452, allocations: 8.156 kB / 0.5131 GB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.4455, allocations: 112.9 kB / 0.5132 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.4456, allocations: 0 / 0.5132 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.4456, allocations: 1.594 kB / 0.5132 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.4456, allocations: 3.516 kB / 0.5132 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.4459, allocations: 128.1 kB / 0.5134 GB, free: 21.18 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.0004379/0.4464, allocations: 347 kB / 0.5137 GB, free: 20.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.4467, allocations: 78.2 kB / 0.5138 GB, free: 20.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.4468, allocations: 37.86 kB / 0.5138 GB, free: 20.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003234/0.45, allocations: 2.128 MB / 0.5159 GB, free: 19.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.4501, allocations: 33.31 kB / 0.5159 GB, free: 19.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.4501, allocations: 0 / 0.5159 GB, free: 19.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000657/0.4507, allocations: 153.6 kB / 0.516 GB, free: 19.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.4508, allocations: 56.41 kB / 0.5161 GB, free: 19.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.132e-05/0.4508, allocations: 102.8 kB / 0.5162 GB, free: 19.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.557e-06/0.4509, allocations: 30.02 kB / 0.5162 GB, free: 19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.4509, allocations: 88.44 kB / 0.5163 GB, free: 18.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.4509, allocations: 24.53 kB / 0.5163 GB, free: 18.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.451, allocations: 25.86 kB / 0.5164 GB, free: 18.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.35e-05/0.451, allocations: 318.8 kB / 0.5167 GB, free: 18.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.422e-05/0.4511, allocations: 24.03 kB / 0.5167 GB, free: 18.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.714e-05/0.4512, allocations: 40.06 kB / 0.5167 GB, free: 18.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.4514, allocations: 69.67 kB / 0.5168 GB, free: 18.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.4514, allocations: 3.75 kB / 0.5168 GB, free: 18.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002658/0.4517, allocations: 104.9 kB / 0.5169 GB, free: 18.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.4517, allocations: 8.594 kB / 0.5169 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4517, allocations: 0 / 0.5169 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4517, allocations: 2.906 kB / 0.5169 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.4518, allocations: 22.56 kB / 0.5169 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.4519, allocations: 2.281 kB / 0.5169 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.536e-05/0.4519, allocations: 12.62 kB / 0.5169 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.4519, allocations: 10.69 kB / 0.517 GB, free: 18.5 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.381e-05/0.452, allocations: 113.5 kB / 0.5171 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.4521, allocations: 3.844 kB / 0.5171 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.4525, allocations: 258.4 kB / 0.5173 GB, free: 18.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.4525, allocations: 5.062 kB / 0.5173 GB, free: 18.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4525, allocations: 0 / 0.5173 GB, free: 18.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4525, allocations: 1.125 kB / 0.5173 GB, free: 18.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.4527, allocations: 220.7 kB / 0.5175 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.4527, allocations: 6.094 kB / 0.5175 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.831e-05/0.4528, allocations: 17.91 kB / 0.5176 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4528, allocations: 1.125 kB / 0.5176 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4528, allocations: 6.125 kB / 0.5176 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4528, allocations: 5.656 kB / 0.5176 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4529, allocations: 1.25 kB / 0.5176 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.4532, allocations: 257.6 kB / 0.5178 GB, free: 18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.4532, allocations: 88.27 kB / 0.5179 GB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.4532, allocations: 1.094 kB / 0.5179 GB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.067e-05/0.4533, allocations: 15.56 kB / 0.5179 GB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.4533, allocations: 8.938 kB / 0.5179 GB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.4534, allocations: 4.344 kB / 0.5179 GB, free: 17.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.874e-05/0.4534, allocations: 83.12 kB / 0.518 GB, free: 17.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4534, allocations: 0 / 0.518 GB, free: 17.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004105/0.4575, allocations: 367.7 kB / 0.5184 GB, free: 17.76 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.02278/0.4803, allocations: 4.236 MB / 0.5225 GB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004265/0.4807, allocations: 101.5 kB / 0.5226 GB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4808, allocations: 3.281 kB / 0.5226 GB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.4809, allocations: 75.84 kB / 0.5227 GB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.4813, allocations: 22.34 kB / 0.5227 GB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006209/0.4875, allocations: 475.8 kB / 0.5231 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.4877, allocations: 0.6944 MB / 0.5238 GB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001755/0.4879, allocations: 48.72 kB / 0.5239 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.044e-05/0.488, allocations: 33.08 kB / 0.5239 GB, free: 14.5 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.488, allocations: 4.625 kB / 0.5239 GB, free: 14.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/0.5246, allocations: 17.96 MB / 0.5414 GB, free: 4.387 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/0.5247, allocations: 206.5 kB / 0.5416 GB, free: 4.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.98/3.505, allocations: 3 kB / 0.5416 GB, free: 4.125 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)