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.002092/0.002092, allocations: 198.2 kB / 8.768 MB, free: 316 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.684/1.684, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009414/0.0009414, allocations: 95.53 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2624/0.2624, allocations: 45.15 MB / 383.7 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.606e-05/2.629e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1735, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.901/8.075, allocations: 2.777 GB / 3.282 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/8.075, allocations: 83.39 kB / 3.282 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8337/8.909, allocations: 236.7 MB / 3.513 GB, free: 79.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.483e-06/8.909, allocations: 3.938 kB / 3.513 GB, free: 79.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.492e-05/8.909, allocations: 7.938 kB / 3.513 GB, free: 79.91 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.007204/8.916, allocations: 1.286 MB / 3.514 GB, free: 79.08 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.504e-05/8.916, allocations: 11.53 kB / 3.514 GB, free: 79.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003235/8.919, allocations: 261.2 kB / 3.514 GB, free: 79.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/8.92, allocations: 420.7 kB / 3.515 GB, free: 78.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.928e-05/8.92, allocations: 15.75 kB / 3.515 GB, free: 78.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.717e-05/8.921, allocations: 19.44 kB / 3.515 GB, free: 78.72 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008961/8.922, allocations: 343.1 kB / 3.515 GB, free: 78.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009604/8.922, allocations: 426 kB / 3.516 GB, free: 78.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/8.923, allocations: 3.953 kB / 3.516 GB, free: 78.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.059e-05/8.923, allocations: 3.969 kB / 3.516 GB, free: 78.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/8.923, allocations: 11.91 kB / 3.516 GB, free: 78.37 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.02283/8.945, allocations: 10.96 MB / 3.526 GB, free: 70.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006667/8.946, allocations: 309.8 kB / 3.527 GB, free: 70.68 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/8.946, allocations: 133.8 kB / 3.527 GB, free: 70.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04368/8.99, allocations: 26.72 MB / 3.553 GB, free: 52.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/8.99, allocations: 42.33 kB / 3.553 GB, free: 52.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 2.545e-06/8.99, allocations: 0 / 3.553 GB, free: 52.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.002115/8.992, allocations: 0.573 MB / 3.553 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/8.992, allocations: 106.8 kB / 3.554 GB, free: 52.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/8.993, allocations: 278.8 kB / 3.554 GB, free: 51.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/8.993, allocations: 25.7 kB / 3.554 GB, free: 51.87 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/8.993, allocations: 243.7 kB / 3.554 GB, free: 51.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.9e-05/8.993, allocations: 84.98 kB / 3.554 GB, free: 51.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/8.993, allocations: 4 kB / 3.554 GB, free: 51.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.089e-05/8.993, allocations: 348.4 kB / 3.554 GB, free: 51.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/8.993, allocations: 105.1 kB / 3.555 GB, free: 51.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/8.993, allocations: 222 kB / 3.555 GB, free: 51.03 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000815/8.994, allocations: 225.9 kB / 3.555 GB, free: 50.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/8.994, allocations: 0 / 3.555 GB, free: 50.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00112/8.995, allocations: 463.7 kB / 3.555 GB, free: 50.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002682/8.996, allocations: 1.393 MB / 3.557 GB, free: 49.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/8.996, allocations: 3.812 kB / 3.557 GB, free: 49.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/8.996, allocations: 10.66 kB / 3.557 GB, free: 49.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/8.996, allocations: 115.1 kB / 3.557 GB, free: 49.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/8.996, allocations: 7.625 kB / 3.557 GB, free: 49.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/8.997, allocations: 63.06 kB / 3.557 GB, free: 49.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/8.997, allocations: 20.56 kB / 3.557 GB, free: 49.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/8.997, allocations: 6.562 kB / 3.557 GB, free: 49.25 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008534/8.997, allocations: 352.3 kB / 3.557 GB, free: 49.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/8.997, allocations: 3.906 kB / 3.557 GB, free: 49.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/8.997, allocations: 3.906 kB / 3.557 GB, free: 49.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/8.998, allocations: 104.5 kB / 3.557 GB, free: 49.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/8.998, allocations: 11.56 kB / 3.557 GB, free: 49.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/8.998, allocations: 59.97 kB / 3.558 GB, free: 49.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/8.998, allocations: 22.73 kB / 3.558 GB, free: 49.1 MB / 0.5261 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 9.944e-05/8.998, allocations: 124.9 kB / 3.558 GB, free: 48.98 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009379/8.999, allocations: 365 kB / 3.558 GB, free: 48.84 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/8.999, allocations: 35.78 kB / 3.558 GB, free: 48.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/9.001, allocations: 1.7 MB / 3.56 GB, free: 48.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/9.001, allocations: 29.81 kB / 3.56 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/9.001, allocations: 0 / 3.56 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/9.001, allocations: 7.703 kB / 3.56 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007833/9.002, allocations: 0.8802 MB / 3.561 GB, free: 47.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/9.002, allocations: 7.781 kB / 3.561 GB, free: 47.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/9.002, allocations: 83.55 kB / 3.561 GB, free: 47.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/9.002, allocations: 0 / 3.561 GB, free: 47.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/9.002, allocations: 6.25 kB / 3.561 GB, free: 47.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/9.002, allocations: 3.938 kB / 3.561 GB, free: 47.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/9.002, allocations: 0 / 3.561 GB, free: 47.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/9.004, allocations: 0.9972 MB / 3.562 GB, free: 47.01 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/9.004, allocations: 254.9 kB / 3.562 GB, free: 46.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/9.004, allocations: 0 / 3.562 GB, free: 46.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/9.004, allocations: 36.89 kB / 3.562 GB, free: 46.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/9.004, allocations: 34.81 kB / 3.562 GB, free: 46.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/9.004, allocations: 15.75 kB / 3.562 GB, free: 46.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003041/9.005, allocations: 321.7 kB / 3.562 GB, free: 46.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.1e-07/9.005, allocations: 0 / 3.562 GB, free: 46.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004798/9.009, allocations: 1.155 MB / 3.563 GB, free: 46.38 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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.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): 30 * 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.008635/9.018, allocations: 2.941 MB / 3.566 GB, free: 45.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00102/9.019, allocations: 0.6642 MB / 3.567 GB, free: 44.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/9.019, allocations: 0 / 3.567 GB, free: 44.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/9.02, allocations: 437.9 kB / 3.567 GB, free: 44.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/9.021, allocations: 181.3 kB / 3.568 GB, free: 44.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/9.026, allocations: 1.586 MB / 3.569 GB, free: 43.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/9.026, allocations: 0.9926 MB / 3.57 GB, free: 42.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008359/9.027, allocations: 0.5686 MB / 3.571 GB, free: 42.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/9.027, allocations: 265.1 kB / 3.571 GB, free: 41.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/9.027, allocations: 4 kB / 3.571 GB, free: 41.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06191/9.089, allocations: 37.36 MB / 3.607 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/9.09, allocations: 185.1 kB / 3.608 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.309/12.4, allocations: 0 / 3.608 GB, free: 6.062 MB / 0.5261 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