Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.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.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001172/0.001172, allocations: 98.28 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 199 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2151/0.2151, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002817, allocations: 4 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1258, allocations: 63.47 MB / 481.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.02462/0.1504, allocations: 24.32 MB / 0.494 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2638/0.4143, allocations: 14.79 MB / 0.5084 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006954/0.4151, allocations: 11.69 kB / 0.5084 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.4162, allocations: 264.7 kB / 0.5087 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0104/0.4266, allocations: 2.974 MB / 0.5116 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01149/0.4381, allocations: 3.096 MB / 0.5146 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001982/0.4401, allocations: 0.6206 MB / 0.5152 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000685/0.4408, allocations: 240.2 kB / 0.5155 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.4421, allocations: 431 kB / 0.5159 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004785/0.4426, allocations: 234.5 kB / 0.5161 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/0.4427, allocations: 16.72 kB / 0.5161 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01801/0.4607, allocations: 7.185 MB / 0.5231 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.461, allocations: 89.72 kB / 0.5232 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.4613, allocations: 118.3 kB / 0.5233 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007397/0.4687, allocations: 3.078 MB / 0.5263 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4688, allocations: 1.062 kB / 0.5263 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4688, allocations: 2.625 kB / 0.5263 GB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.4688, allocations: 7.562 kB / 0.5263 GB, free: 10.09 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.004316/0.4731, allocations: 1.261 MB / 0.5276 GB, free: 9.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4732, allocations: 10.09 kB / 0.5276 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.279e-05/0.4732, allocations: 76.41 kB / 0.5277 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.475, allocations: 245.8 kB / 0.5279 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.4755, allocations: 371.8 kB / 0.5282 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.4756, allocations: 30.09 kB / 0.5283 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.4756, allocations: 35.2 kB / 0.5283 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.4773, allocations: 0.6718 MB / 0.529 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.4774, allocations: 5.312 kB / 0.529 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.4774, allocations: 15.41 kB / 0.529 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.4774, allocations: 7.594 kB / 0.529 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.4794, allocations: 0.6567 MB / 0.5296 GB, free: 8.398 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.003051/0.4824, allocations: 2.851 MB / 0.5324 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.4842, allocations: 0.5204 MB / 0.5329 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05239/0.5366, allocations: 27.12 MB / 0.5594 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.5367, allocations: 35.66 kB / 0.5594 GB, free: 12.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 3.126e-06/0.5367, allocations: 0 / 0.5594 GB, free: 12.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.003491/0.5402, allocations: 0.897 MB / 0.5603 GB, free: 11.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.5403, allocations: 106.8 kB / 0.5604 GB, free: 11.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/0.5408, allocations: 379.1 kB / 0.5608 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.5409, allocations: 34.83 kB / 0.5608 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.5411, allocations: 229.8 kB / 0.561 GB, free: 10.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.5412, allocations: 96.16 kB / 0.5611 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.5412, allocations: 3.25 kB / 0.5611 GB, free: 10.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5414, allocations: 355.6 kB / 0.5615 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005869/0.542, allocations: 181.3 kB / 0.5616 GB, free: 10.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006294/0.5426, allocations: 277 kB / 0.5619 GB, free: 10.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005941/0.5432, allocations: 197.5 kB / 0.5621 GB, free: 9.957 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5433, allocations: 0 / 0.5621 GB, free: 9.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001446/0.5447, allocations: 0.5095 MB / 0.5626 GB, free: 9.551 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000427/0.5451, allocations: 1.057 MB / 0.5636 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.5452, allocations: 4 kB / 0.5636 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.5452, allocations: 7.984 kB / 0.5636 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.5457, allocations: 112 kB / 0.5637 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.5457, allocations: 6.531 kB / 0.5637 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/0.5463, allocations: 90.05 kB / 0.5638 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.5464, allocations: 20.73 kB / 0.5638 GB, free: 8.223 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.5464, allocations: 4 kB / 0.5638 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001324/0.5477, allocations: 456.6 kB / 0.5643 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5477, allocations: 0 / 0.5643 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.5478, allocations: 8 kB / 0.5643 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.5482, allocations: 111.5 kB / 0.5644 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.5482, allocations: 4 kB / 0.5644 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/0.5487, allocations: 78.97 kB / 0.5645 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.5488, allocations: 21.31 kB / 0.5645 GB, free: 7.688 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002934/0.5491, allocations: 243.7 kB / 0.5647 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.5492, allocations: 43.48 kB / 0.5648 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/0.5521, allocations: 1.995 MB / 0.5667 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.049e-05/0.5521, allocations: 33.94 kB / 0.5668 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/0.5521, allocations: 0 / 0.5668 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.5521, allocations: 1.75 kB / 0.5668 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.5534, allocations: 1.047 MB / 0.5678 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.5534, allocations: 0 / 0.5678 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.5538, allocations: 97.11 kB / 0.5679 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/0.5539, allocations: 7.953 kB / 0.5679 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.5539, allocations: 4.5 kB / 0.5679 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.5539, allocations: 7.984 kB / 0.5679 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.5539, allocations: 3.188 kB / 0.5679 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.5558, allocations: 1.158 MB / 0.569 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/0.5562, allocations: 265.1 kB / 0.5693 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.5563, allocations: 14.77 kB / 0.5693 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/0.5568, allocations: 62.73 kB / 0.5693 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/0.5569, allocations: 30.33 kB / 0.5694 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.5569, allocations: 14.55 kB / 0.5694 GB, free: 3.969 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004805/0.5574, allocations: 371.2 kB / 0.5697 GB, free: 3.691 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5574, allocations: 0 / 0.5697 GB, free: 3.691 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005389/0.5628, allocations: 1.142 MB / 0.5709 GB, free: 2.605 MB / 414.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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse13.phase,$cse13.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01081/0.5737, allocations: 2.827 MB / 0.5736 GB, free: 200 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002675/0.5764, allocations: 0.9153 MB / 0.5745 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.5764, allocations: 0 / 0.5745 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009649/0.5774, allocations: 0.5505 MB / 0.5751 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.5788, allocations: 228.7 kB / 0.5753 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009922/0.5888, allocations: 5.636 MB / 0.5808 GB, free: 9.871 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.5894, allocations: 1.005 MB / 0.5818 GB, free: 8.848 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009345/0.5903, allocations: 0.5399 MB / 0.5823 GB, free: 8.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.5907, allocations: 272.5 kB / 0.5825 GB, free: 8.258 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5907, allocations: 1.859 kB / 0.5825 GB, free: 8.258 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08747/0.6782, allocations: 48.4 MB / 0.6298 GB, free: 8.168 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.6784, allocations: 240.1 kB / 0.63 GB, free: 7.922 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.061/4.74, allocations: 0 / 0.63 GB, free: 7.922 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat