Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinear,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 196.2 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008084/0.0008083, allocations: 91.2 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1894/0.1894, allocations: 45.14 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.514e-05, allocations: 8 kB / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 63.24 MB / 0.5115 GB, free: 6.719 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.937/6.052, allocations: 2.76 GB / 3.272 GB, free: 26.88 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/6.052, allocations: 82.89 kB / 3.272 GB, free: 26.84 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.727/6.779, allocations: 219.1 MB / 3.486 GB, free: 38.91 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.623e-06/6.779, allocations: 0 / 3.486 GB, free: 38.91 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.846e-05/6.779, allocations: 7.938 kB / 3.486 GB, free: 38.9 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004501/6.784, allocations: 1.192 MB / 3.487 GB, free: 37.66 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/6.784, allocations: 8.031 kB / 3.487 GB, free: 37.66 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.07e-05/6.784, allocations: 70.53 kB / 3.487 GB, free: 37.58 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/6.785, allocations: 223.3 kB / 3.487 GB, free: 37.36 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/6.786, allocations: 366.1 kB / 3.488 GB, free: 36.96 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/6.786, allocations: 24.78 kB / 3.488 GB, free: 36.93 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/6.786, allocations: 28 kB / 3.488 GB, free: 36.91 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/6.787, allocations: 0.5809 MB / 3.488 GB, free: 36.28 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/6.787, allocations: 7.938 kB / 3.488 GB, free: 36.27 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/6.787, allocations: 16 kB / 3.488 GB, free: 36.26 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/6.787, allocations: 15.89 kB / 3.488 GB, free: 36.24 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009618/6.788, allocations: 493.8 kB / 3.489 GB, free: 35.76 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.002262/6.79, allocations: 2.598 MB / 3.491 GB, free: 32.93 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/6.791, allocations: 418.3 kB / 3.492 GB, free: 32.51 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/6.791, allocations: 136.7 kB / 3.492 GB, free: 32.37 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04037/6.832, allocations: 26.73 MB / 3.518 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/6.832, allocations: 34.56 kB / 3.518 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/6.832, allocations: 4 kB / 3.518 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of matching and sorting (n=25): time 0.001908/6.834, allocations: 0.6257 MB / 3.519 GB, free: 1.559 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/6.834, allocations: 106.8 kB / 3.519 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/6.834, allocations: 274.6 kB / 3.519 GB, free: 1.156 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/6.834, allocations: 37.64 kB / 3.519 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/6.834, allocations: 200 kB / 3.519 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/6.834, allocations: 82.83 kB / 3.519 GB, free: 0.832 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/6.834, allocations: 8 kB / 3.519 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.471e-05/6.834, allocations: 346.8 kB / 3.52 GB, free: 488 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/6.835, allocations: 88.88 kB / 3.52 GB, free: 400 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/6.835, allocations: 190.8 kB / 3.52 GB, free: 168 kB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/6.835, allocations: 107.5 kB / 3.52 GB, free: 64 kB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/6.835, allocations: 3.938 kB / 3.52 GB, free: 60 kB / 0.5417 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.2839/7.119, allocations: 325.2 kB / 3.52 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/7.119, allocations: 12.34 kB / 3.52 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/7.119, allocations: 2.594 kB / 3.52 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/7.119, allocations: 4.031 kB / 3.52 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/7.119, allocations: 96.33 kB / 3.52 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/7.119, allocations: 9.938 kB / 3.52 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/7.12, allocations: 70.3 kB / 3.52 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.453e-05/7.12, allocations: 16.05 kB / 3.52 GB, free: 109.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 9.622e-05/7.12, allocations: 133.5 kB / 3.521 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.941e-05/7.12, allocations: 34.47 kB / 3.521 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/7.122, allocations: 1.842 MB / 3.522 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-05/7.122, allocations: 28.84 kB / 3.522 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/7.122, allocations: 0.6562 kB / 3.522 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/7.122, allocations: 2.156 kB / 3.522 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000906/7.123, allocations: 1.01 MB / 3.523 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/7.123, allocations: 2.047 kB / 3.523 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/7.123, allocations: 94.67 kB / 3.523 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/7.123, allocations: 6.594 kB / 3.523 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/7.123, allocations: 7.984 kB / 3.523 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/7.123, allocations: 2.203 kB / 3.523 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/7.123, allocations: 1.031 kB / 3.523 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008494/7.124, allocations: 0.9787 MB / 3.524 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/7.124, allocations: 220.4 kB / 3.525 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/7.124, allocations: 6.719 kB / 3.525 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/7.125, allocations: 53.91 kB / 3.525 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.215e-05/7.125, allocations: 33.69 kB / 3.525 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/7.125, allocations: 15.08 kB / 3.525 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002785/7.125, allocations: 320.1 kB / 3.525 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.31e-07/7.125, allocations: 0 / 3.525 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004376/7.13, allocations: 1.02 MB / 3.526 GB, free: 108.5 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,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * 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.006885/7.137, allocations: 2.818 MB / 3.529 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006747/7.137, allocations: 0.4972 MB / 3.529 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/7.137, allocations: 4.469 kB / 3.529 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003958/7.138, allocations: 476.8 kB / 3.53 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/7.139, allocations: 196.5 kB / 3.53 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/7.142, allocations: 1.59 MB / 3.532 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/7.142, allocations: 0.9794 MB / 3.532 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003827/7.143, allocations: 251.8 kB / 3.533 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/7.143, allocations: 257.5 kB / 3.533 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/7.143, allocations: 0.9375 kB / 3.533 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06947/7.212, allocations: 41.16 MB / 3.573 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001324/7.213, allocations: 208.3 kB / 3.573 GB, free: 106 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/10.11, allocations: 4 kB / 3.573 GB, free: 106 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat