Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.TestValveCompressible,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 196.8 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.313/1.313, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008911/0.0008911, allocations: 91.53 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2045/0.2045, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.17e-05/3.173e-05, allocations: 8 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 63.24 MB / 0.5115 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.872/5.986, allocations: 2.778 GB / 3.289 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/5.986, allocations: 81.2 kB / 3.289 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.9781/6.965, allocations: 239.5 MB / 3.523 GB, free: 98.36 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.363e-06/6.965, allocations: 0 / 3.523 GB, free: 98.36 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.005e-05/6.965, allocations: 8.531 kB / 3.523 GB, free: 98.36 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004466/6.969, allocations: 1.289 MB / 3.525 GB, free: 97.95 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/6.969, allocations: 9.312 kB / 3.525 GB, free: 97.95 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.166e-05/6.969, allocations: 73.3 kB / 3.525 GB, free: 97.91 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/6.971, allocations: 263.9 kB / 3.525 GB, free: 97.88 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/6.972, allocations: 418.6 kB / 3.525 GB, free: 97.66 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/6.972, allocations: 28.19 kB / 3.525 GB, free: 97.66 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/6.972, allocations: 31.28 kB / 3.525 GB, free: 97.66 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/6.973, allocations: 0.6296 MB / 3.526 GB, free: 97.53 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/6.973, allocations: 2.781 kB / 3.526 GB, free: 97.53 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.51e-05/6.973, allocations: 21.64 kB / 3.526 GB, free: 97.52 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/6.974, allocations: 7.875 kB / 3.526 GB, free: 97.52 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/6.975, allocations: 0.5297 MB / 3.527 GB, free: 97.52 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.00263/6.977, allocations: 2.719 MB / 3.529 GB, free: 95.63 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/6.979, allocations: 0.5039 MB / 3.53 GB, free: 95.61 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/6.979, allocations: 147.1 kB / 3.53 GB, free: 95.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04078/7.02, allocations: 26.71 MB / 3.556 GB, free: 78.33 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/7.02, allocations: 40.28 kB / 3.556 GB, free: 78.29 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/7.02, allocations: 0 / 3.556 GB, free: 78.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=28): time 0.001946/7.022, allocations: 0.6657 MB / 3.557 GB, free: 78.23 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/7.022, allocations: 109.7 kB / 3.557 GB, free: 78.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/7.022, allocations: 340.5 kB / 3.557 GB, free: 78 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/7.022, allocations: 32.48 kB / 3.557 GB, free: 77.96 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/7.022, allocations: 225.3 kB / 3.557 GB, free: 77.85 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/7.022, allocations: 94.95 kB / 3.557 GB, free: 77.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/7.022, allocations: 5.969 kB / 3.557 GB, free: 77.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.486e-05/7.022, allocations: 356.3 kB / 3.558 GB, free: 77.48 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/7.023, allocations: 112 kB / 3.558 GB, free: 77.48 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/7.023, allocations: 231.1 kB / 3.558 GB, free: 77.34 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/7.023, allocations: 136.4 kB / 3.558 GB, free: 77.34 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/7.023, allocations: 4.391 kB / 3.558 GB, free: 77.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005758/7.024, allocations: 406.8 kB / 3.559 GB, free: 77.28 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002085/7.024, allocations: 1.399 MB / 3.56 GB, free: 75.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.547e-06/7.024, allocations: 4.938 kB / 3.56 GB, free: 75.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/7.024, allocations: 5.344 kB / 3.56 GB, free: 75.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/7.024, allocations: 107.5 kB / 3.56 GB, free: 75.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/7.024, allocations: 9.969 kB / 3.56 GB, free: 75.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/7.025, allocations: 72.3 kB / 3.56 GB, free: 75.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/7.025, allocations: 21.73 kB / 3.56 GB, free: 75.82 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/7.025, allocations: 4.062 kB / 3.56 GB, free: 75.82 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004979/7.025, allocations: 327.8 kB / 3.56 GB, free: 75.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/7.025, allocations: 3.25 kB / 3.56 GB, free: 75.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.124e-06/7.025, allocations: 6.719 kB / 3.56 GB, free: 75.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/7.026, allocations: 118 kB / 3.561 GB, free: 75.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/7.026, allocations: 5.656 kB / 3.561 GB, free: 75.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/7.026, allocations: 72.2 kB / 3.561 GB, free: 75.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/7.026, allocations: 23.61 kB / 3.561 GB, free: 75.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (44): * Single equations (assignments): 44 * 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.451e-05/7.026, allocations: 125.4 kB / 3.561 GB, free: 75.69 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/7.026, allocations: 41.03 kB / 3.561 GB, free: 75.67 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/7.028, allocations: 1.917 MB / 3.563 GB, free: 75.46 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/7.028, allocations: 32.55 kB / 3.563 GB, free: 75.46 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/7.028, allocations: 3.953 kB / 3.563 GB, free: 75.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/7.028, allocations: 0 / 3.563 GB, free: 75.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008628/7.029, allocations: 1.05 MB / 3.564 GB, free: 75.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/7.029, allocations: 0.9688 kB / 3.564 GB, free: 75.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/7.029, allocations: 88.16 kB / 3.564 GB, free: 75.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/7.029, allocations: 2.188 kB / 3.564 GB, free: 75.22 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/7.029, allocations: 11.25 kB / 3.564 GB, free: 75.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/7.029, allocations: 3.047 kB / 3.564 GB, free: 75.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/7.029, allocations: 7.219 kB / 3.564 GB, free: 75.22 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009551/7.03, allocations: 1.038 MB / 3.565 GB, free: 74.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/7.03, allocations: 265.7 kB / 3.565 GB, free: 74.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/7.03, allocations: 13.19 kB / 3.565 GB, free: 74.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/7.031, allocations: 42.12 kB / 3.565 GB, free: 74.83 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/7.031, allocations: 38.69 kB / 3.565 GB, free: 74.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/7.031, allocations: 15.89 kB / 3.565 GB, free: 74.83 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000366/7.031, allocations: 374.2 kB / 3.566 GB, free: 74.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/7.031, allocations: 0 / 3.566 GB, free: 74.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004479/7.036, allocations: 1.177 MB / 3.567 GB, free: 74.61 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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.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 (40): * Single equations (assignments): 31 * 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.005742/7.041, allocations: 2.929 MB / 3.57 GB, free: 73.66 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008866/7.042, allocations: 0.7435 MB / 3.57 GB, free: 73.64 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/7.042, allocations: 0 / 3.57 GB, free: 73.64 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003691/7.043, allocations: 493.7 kB / 3.571 GB, free: 73.64 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/7.044, allocations: 226.8 kB / 3.571 GB, free: 73.63 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/7.047, allocations: 1.697 MB / 3.573 GB, free: 73.15 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/7.047, allocations: 1.01 MB / 3.574 GB, free: 72.45 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007553/7.048, allocations: 0.5551 MB / 3.574 GB, free: 72.45 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/7.048, allocations: 284.2 kB / 3.574 GB, free: 72.44 MB / 0.5417 GB Notification: Performance of SimCode: time 6.92e-07/7.048, allocations: 0 / 3.574 GB, free: 72.44 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05629/7.105, allocations: 43.72 MB / 3.617 GB, free: 71.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001407/7.105, allocations: 210.6 kB / 3.617 GB, free: 70.83 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.972/10.08, allocations: 0 / 3.617 GB, free: 70.83 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat