Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008856/0.0008856, allocations: 86.86 kB / 292.1 MB, free: 6.004 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1841/0.1841, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.748e-05/2.756e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09455, allocations: 63.25 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.663/5.758, allocations: 2.777 GB / 3.289 GB, free: 80.86 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/5.758, allocations: 83.95 kB / 3.289 GB, free: 80.78 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8325/6.591, allocations: 236.4 MB / 3.52 GB, free: 67.53 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.294e-06/6.591, allocations: 0 / 3.52 GB, free: 67.53 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.773e-05/6.591, allocations: 12 kB / 3.52 GB, free: 67.52 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.005464/6.596, allocations: 1.293 MB / 3.521 GB, free: 66.18 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.334e-05/6.596, allocations: 8.031 kB / 3.521 GB, free: 66.17 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.857e-05/6.596, allocations: 70.53 kB / 3.521 GB, free: 66.09 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/6.599, allocations: 243.2 kB / 3.521 GB, free: 65.86 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008583/6.6, allocations: 407.9 kB / 3.522 GB, free: 65.43 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/6.6, allocations: 32.78 kB / 3.522 GB, free: 65.39 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/6.6, allocations: 35.94 kB / 3.522 GB, free: 65.36 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/6.602, allocations: 0.6068 MB / 3.522 GB, free: 64.71 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/6.602, allocations: 0 / 3.522 GB, free: 64.71 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.372e-05/6.602, allocations: 19.95 kB / 3.522 GB, free: 64.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/6.602, allocations: 8 kB / 3.522 GB, free: 64.69 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/6.604, allocations: 0.5174 MB / 3.523 GB, free: 64.17 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.003294/6.607, allocations: 2.625 MB / 3.525 GB, free: 61.31 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/6.609, allocations: 426.2 kB / 3.526 GB, free: 60.89 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/6.609, allocations: 144.8 kB / 3.526 GB, free: 60.74 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04914/6.658, allocations: 26.7 MB / 3.552 GB, free: 30.65 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/6.658, allocations: 34.56 kB / 3.552 GB, free: 30.61 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=25): time 2.434e-06/6.658, allocations: 0 / 3.552 GB, free: 30.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=25): time 0.001989/6.66, allocations: 0.6494 MB / 3.553 GB, free: 29.95 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/6.66, allocations: 106.8 kB / 3.553 GB, free: 29.82 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/6.66, allocations: 331.4 kB / 3.553 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/6.661, allocations: 29.7 kB / 3.553 GB, free: 29.46 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/6.661, allocations: 227.8 kB / 3.553 GB, free: 29.24 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/6.661, allocations: 78.84 kB / 3.553 GB, free: 29.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.711e-05/6.661, allocations: 8 kB / 3.553 GB, free: 29.15 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/6.661, allocations: 350.8 kB / 3.554 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/6.661, allocations: 104 kB / 3.554 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/6.661, allocations: 215.6 kB / 3.554 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/6.661, allocations: 136.7 kB / 3.554 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/6.661, allocations: 0 / 3.554 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005085/6.662, allocations: 383 kB / 3.554 GB, free: 27.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002128/6.662, allocations: 1.043 MB / 3.555 GB, free: 26.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/6.662, allocations: 4 kB / 3.555 GB, free: 26.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/6.662, allocations: 7.984 kB / 3.555 GB, free: 26.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/6.663, allocations: 107.9 kB / 3.556 GB, free: 26.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/6.663, allocations: 11.92 kB / 3.556 GB, free: 26.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/6.663, allocations: 83.5 kB / 3.556 GB, free: 26.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/6.663, allocations: 23.88 kB / 3.556 GB, free: 26.58 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/6.663, allocations: 4 kB / 3.556 GB, free: 26.57 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004285/6.663, allocations: 303.9 kB / 3.556 GB, free: 26.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/6.663, allocations: 12.06 kB / 3.556 GB, free: 26.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.94e-06/6.663, allocations: 4 kB / 3.556 GB, free: 26.26 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/6.664, allocations: 103.9 kB / 3.556 GB, free: 26.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/6.664, allocations: 7.984 kB / 3.556 GB, free: 26.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/6.664, allocations: 71.66 kB / 3.556 GB, free: 26.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/6.664, allocations: 23.92 kB / 3.556 GB, free: 26.06 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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 8.617e-05/6.664, allocations: 116.9 kB / 3.556 GB, free: 25.94 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/6.664, allocations: 47.48 kB / 3.556 GB, free: 25.89 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/6.666, allocations: 1.909 MB / 3.558 GB, free: 23.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/6.666, allocations: 31.94 kB / 3.558 GB, free: 23.93 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/6.666, allocations: 4 kB / 3.558 GB, free: 23.93 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/6.666, allocations: 4 kB / 3.558 GB, free: 23.93 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/6.667, allocations: 1.043 MB / 3.559 GB, free: 22.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/6.667, allocations: 0 / 3.559 GB, free: 22.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/6.667, allocations: 87.88 kB / 3.559 GB, free: 22.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/6.667, allocations: 3.953 kB / 3.559 GB, free: 22.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/6.667, allocations: 12 kB / 3.559 GB, free: 22.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/6.667, allocations: 3.984 kB / 3.559 GB, free: 22.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/6.667, allocations: 4 kB / 3.559 GB, free: 22.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008493/6.668, allocations: 1.032 MB / 3.56 GB, free: 21.69 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/6.668, allocations: 263.3 kB / 3.561 GB, free: 21.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.086e-05/6.668, allocations: 7.953 kB / 3.561 GB, free: 21.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/6.669, allocations: 55.89 kB / 3.561 GB, free: 21.35 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/6.669, allocations: 31.95 kB / 3.561 GB, free: 21.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/6.669, allocations: 15.98 kB / 3.561 GB, free: 21.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003112/6.669, allocations: 361.6 kB / 3.561 GB, free: 20.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/6.669, allocations: 0 / 3.561 GB, free: 20.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00527/6.674, allocations: 1.206 MB / 3.562 GB, free: 19.74 MB / 0.5417 GB 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,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete 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.008426/6.683, allocations: 2.97 MB / 3.565 GB, free: 16.88 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001105/6.684, allocations: 0.7231 MB / 3.566 GB, free: 16.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/6.684, allocations: 0 / 3.566 GB, free: 16.16 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003763/6.684, allocations: 489.8 kB / 3.566 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/6.686, allocations: 224.8 kB / 3.567 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/6.691, allocations: 1.709 MB / 3.568 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/6.691, allocations: 1.004 MB / 3.569 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008292/6.692, allocations: 0.5603 MB / 3.57 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/6.692, allocations: 271.3 kB / 3.57 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of SimCode: time 8.22e-07/6.692, allocations: 0 / 3.57 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4265/7.119, allocations: 43.93 MB / 3.613 GB, free: 94.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/7.119, allocations: 200.5 kB / 3.613 GB, free: 94.06 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.456/10.58, allocations: 5.781 kB / 3.613 GB, free: 94.06 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat