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.001333/0.001333, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.628/1.628, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001052/0.001051, allocations: 96.31 kB / 286.7 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2907/0.2907, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.201e-05/2.203e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1585, allocations: 63.24 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.437/7.595, allocations: 2.776 GB / 3.281 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/7.596, allocations: 83.58 kB / 3.281 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8661/8.462, allocations: 233.6 MB / 3.509 GB, free: 80.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.174e-06/8.462, allocations: 0 / 3.509 GB, free: 80.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.985e-05/8.462, allocations: 7.812 kB / 3.509 GB, free: 80.41 MB / 0.5261 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.005519/8.467, allocations: 1.289 MB / 3.51 GB, free: 79.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/8.467, allocations: 11.09 kB / 3.51 GB, free: 79.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/8.469, allocations: 245.9 kB / 3.511 GB, free: 79.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007107/8.47, allocations: 419.2 kB / 3.511 GB, free: 79.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/8.47, allocations: 11.88 kB / 3.511 GB, free: 79.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/8.47, allocations: 23.69 kB / 3.511 GB, free: 79.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005505/8.471, allocations: 336.1 kB / 3.511 GB, free: 79.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/8.471, allocations: 399.9 kB / 3.512 GB, free: 78.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/8.471, allocations: 11.8 kB / 3.512 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/8.471, allocations: 0 / 3.512 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/8.471, allocations: 7.938 kB / 3.512 GB, free: 78.88 MB / 0.5261 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.0189/8.49, allocations: 10.86 MB / 3.522 GB, free: 71.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/8.491, allocations: 235.6 kB / 3.523 GB, free: 71.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/8.491, allocations: 136.8 kB / 3.523 GB, free: 71.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04649/8.538, allocations: 26.72 MB / 3.549 GB, free: 53.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/8.538, allocations: 38.56 kB / 3.549 GB, free: 53.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=24): time 2.605e-06/8.538, allocations: 0 / 3.549 GB, free: 53.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24): time 0.002199/8.54, allocations: 0.5616 MB / 3.549 GB, free: 52.85 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/8.54, allocations: 114.4 kB / 3.55 GB, free: 52.72 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/8.54, allocations: 269.6 kB / 3.55 GB, free: 52.56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/8.54, allocations: 25.7 kB / 3.55 GB, free: 52.53 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/8.54, allocations: 229.9 kB / 3.55 GB, free: 52.33 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/8.54, allocations: 83.97 kB / 3.55 GB, free: 52.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/8.541, allocations: 0 / 3.55 GB, free: 52.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.996e-05/8.541, allocations: 345.8 kB / 3.55 GB, free: 51.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/8.541, allocations: 101.2 kB / 3.551 GB, free: 51.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/8.541, allocations: 194.6 kB / 3.551 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008488/8.542, allocations: 225.3 kB / 3.551 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/8.542, allocations: 3.938 kB / 3.551 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001119/8.543, allocations: 440.5 kB / 3.551 GB, free: 51.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002549/8.543, allocations: 1.041 MB / 3.552 GB, free: 50.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/8.543, allocations: 3.969 kB / 3.552 GB, free: 50.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/8.543, allocations: 7.906 kB / 3.552 GB, free: 50.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/8.544, allocations: 118.1 kB / 3.553 GB, free: 50.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/8.544, allocations: 3.844 kB / 3.553 GB, free: 50.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/8.544, allocations: 69.25 kB / 3.553 GB, free: 50.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/8.544, allocations: 19.09 kB / 3.553 GB, free: 50.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.572e-06/8.544, allocations: 7.875 kB / 3.553 GB, free: 50.34 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008987/8.545, allocations: 351.4 kB / 3.553 GB, free: 50.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/8.545, allocations: 0 / 3.553 GB, free: 50.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/8.545, allocations: 7.844 kB / 3.553 GB, free: 50.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/8.546, allocations: 101.8 kB / 3.553 GB, free: 50.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/8.546, allocations: 7.156 kB / 3.553 GB, free: 50.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/8.546, allocations: 60.39 kB / 3.553 GB, free: 50.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/8.546, allocations: 14.22 kB / 3.553 GB, free: 50.19 MB / 0.5261 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 0.0001063/8.546, allocations: 115.3 kB / 3.553 GB, free: 50.08 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009412/8.547, allocations: 353.9 kB / 3.554 GB, free: 49.94 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/8.547, allocations: 37.61 kB / 3.554 GB, free: 49.92 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/8.549, allocations: 1.707 MB / 3.555 GB, free: 49.13 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/8.549, allocations: 26.89 kB / 3.555 GB, free: 49.12 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/8.549, allocations: 0 / 3.555 GB, free: 49.12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/8.549, allocations: 0 / 3.555 GB, free: 49.12 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008449/8.55, allocations: 0.8749 MB / 3.556 GB, free: 48.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/8.55, allocations: 4 kB / 3.556 GB, free: 48.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/8.55, allocations: 84.66 kB / 3.556 GB, free: 48.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/8.551, allocations: 7.922 kB / 3.556 GB, free: 48.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/8.551, allocations: 7.906 kB / 3.556 GB, free: 48.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/8.551, allocations: 7.656 kB / 3.556 GB, free: 48.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/8.551, allocations: 0 / 3.556 GB, free: 48.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/8.552, allocations: 0.9759 MB / 3.557 GB, free: 48.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/8.552, allocations: 247.8 kB / 3.557 GB, free: 47.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/8.552, allocations: 7.891 kB / 3.557 GB, free: 47.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/8.553, allocations: 44.55 kB / 3.558 GB, free: 47.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.497e-05/8.553, allocations: 40.94 kB / 3.558 GB, free: 47.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/8.553, allocations: 6.438 kB / 3.558 GB, free: 47.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003003/8.553, allocations: 317.7 kB / 3.558 GB, free: 47.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/8.553, allocations: 0 / 3.558 GB, free: 47.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006442/8.559, allocations: 1.184 MB / 3.559 GB, free: 47.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01267/8.572, allocations: 2.976 MB / 3.562 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001203/8.573, allocations: 0.6496 MB / 3.563 GB, free: 45.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/8.573, allocations: 0 / 3.563 GB, free: 45.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003891/8.574, allocations: 437.1 kB / 3.563 GB, free: 45.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/8.575, allocations: 181.7 kB / 3.563 GB, free: 45.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005807/8.581, allocations: 1.585 MB / 3.565 GB, free: 44.87 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/8.581, allocations: 0.9863 MB / 3.566 GB, free: 44.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008711/8.582, allocations: 0.5671 MB / 3.566 GB, free: 43.78 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/8.582, allocations: 256.8 kB / 3.566 GB, free: 43.55 MB / 0.5261 GB Notification: Performance of SimCode: time 1.123e-06/8.582, allocations: 4 kB / 3.566 GB, free: 43.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07877/8.661, allocations: 37.63 MB / 3.603 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/8.662, allocations: 181.8 kB / 3.603 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.426/12.09, allocations: 0 / 3.603 GB, free: 8.176 MB / 0.5261 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