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.002058/0.002058, allocations: 197.7 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.594/1.594, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001235/0.001235, allocations: 99.23 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 45.15 MB / 383.8 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.209e-05/2.181e-05, allocations: 8 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1359, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.747/7.883, allocations: 2.76 GB / 3.264 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/7.883, allocations: 90.48 kB / 3.264 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9456/8.829, allocations: 216.3 MB / 3.475 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.667e-06/8.829, allocations: 0 / 3.475 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.197e-05/8.829, allocations: 11.2 kB / 3.475 GB, free: 93.07 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.006359/8.835, allocations: 1.181 MB / 3.477 GB, free: 92.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/8.836, allocations: 15.58 kB / 3.477 GB, free: 92.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/8.838, allocations: 225.1 kB / 3.477 GB, free: 92.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009867/8.839, allocations: 372.3 kB / 3.477 GB, free: 92.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/8.839, allocations: 11.84 kB / 3.477 GB, free: 92.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.454e-05/8.839, allocations: 15.78 kB / 3.477 GB, free: 92.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006214/8.84, allocations: 301.7 kB / 3.478 GB, free: 91.99 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006865/8.84, allocations: 386.8 kB / 3.478 GB, free: 91.76 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/8.84, allocations: 0 / 3.478 GB, free: 91.76 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.864e-05/8.84, allocations: 3.969 kB / 3.478 GB, free: 91.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/8.84, allocations: 14.86 kB / 3.478 GB, free: 91.76 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.02047/8.861, allocations: 10.84 MB / 3.488 GB, free: 84.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/8.861, allocations: 234.1 kB / 3.489 GB, free: 84.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/8.862, allocations: 123.2 kB / 3.489 GB, free: 84.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04872/8.91, allocations: 26.73 MB / 3.515 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/8.911, allocations: 46.28 kB / 3.515 GB, free: 66.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=24): time 2.335e-06/8.911, allocations: 0 / 3.515 GB, free: 66.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24): time 0.001991/8.913, allocations: 0.5064 MB / 3.515 GB, free: 66.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/8.913, allocations: 106.7 kB / 3.516 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/8.913, allocations: 233.7 kB / 3.516 GB, free: 65.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/8.913, allocations: 25.7 kB / 3.516 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/8.913, allocations: 210.1 kB / 3.516 GB, free: 65.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.898e-05/8.913, allocations: 85.25 kB / 3.516 GB, free: 65.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/8.913, allocations: 0 / 3.516 GB, free: 65.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.291e-05/8.913, allocations: 338 kB / 3.516 GB, free: 65.22 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/8.914, allocations: 86.28 kB / 3.516 GB, free: 65.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/8.914, allocations: 180.2 kB / 3.517 GB, free: 65.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006521/8.914, allocations: 161.9 kB / 3.517 GB, free: 64.99 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/8.914, allocations: 0 / 3.517 GB, free: 64.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009513/8.915, allocations: 358.3 kB / 3.517 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/8.915, allocations: 9.062 kB / 3.517 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/8.915, allocations: 7.953 kB / 3.517 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/8.915, allocations: 7.219 kB / 3.517 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/8.916, allocations: 101.3 kB / 3.517 GB, free: 64.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/8.916, allocations: 3.812 kB / 3.517 GB, free: 64.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/8.916, allocations: 57.3 kB / 3.517 GB, free: 64.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/8.916, allocations: 21.08 kB / 3.517 GB, free: 64.8 MB / 0.5261 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 0.0001178/8.916, allocations: 116.4 kB / 3.517 GB, free: 64.69 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008526/8.917, allocations: 297.7 kB / 3.518 GB, free: 64.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/8.917, allocations: 34.52 kB / 3.518 GB, free: 64.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/8.919, allocations: 1.628 MB / 3.519 GB, free: 63.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/8.919, allocations: 27.19 kB / 3.519 GB, free: 63.76 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/8.919, allocations: 0 / 3.519 GB, free: 63.76 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/8.919, allocations: 3.75 kB / 3.519 GB, free: 63.76 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009864/8.92, allocations: 0.8381 MB / 3.52 GB, free: 63.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/8.92, allocations: 0 / 3.52 GB, free: 63.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/8.921, allocations: 97.38 kB / 3.52 GB, free: 63.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/8.921, allocations: 0 / 3.52 GB, free: 63.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/8.921, allocations: 3.953 kB / 3.52 GB, free: 63.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/8.921, allocations: 3.969 kB / 3.52 GB, free: 63.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/8.921, allocations: 0 / 3.52 GB, free: 63.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/8.922, allocations: 0.9268 MB / 3.521 GB, free: 62.78 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002359/8.922, allocations: 210 kB / 3.521 GB, free: 62.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.582e-05/8.922, allocations: 7.938 kB / 3.521 GB, free: 62.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/8.923, allocations: 50.41 kB / 3.521 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/8.923, allocations: 31.28 kB / 3.522 GB, free: 62.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/8.923, allocations: 11.22 kB / 3.522 GB, free: 62.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002984/8.923, allocations: 284.2 kB / 3.522 GB, free: 62.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/8.923, allocations: 0 / 3.522 GB, free: 62.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00511/8.928, allocations: 1.008 MB / 3.523 GB, free: 62.21 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,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 25 * 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.01041/8.939, allocations: 2.803 MB / 3.526 GB, free: 60.94 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008638/8.94, allocations: 460.2 kB / 3.526 GB, free: 60.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/8.94, allocations: 0 / 3.526 GB, free: 60.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005012/8.94, allocations: 423.3 kB / 3.526 GB, free: 60.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/8.941, allocations: 173.3 kB / 3.527 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0055/8.947, allocations: 1.472 MB / 3.528 GB, free: 59.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/8.947, allocations: 0.9577 MB / 3.529 GB, free: 59.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005174/8.948, allocations: 255 kB / 3.529 GB, free: 59.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/8.948, allocations: 237.1 kB / 3.529 GB, free: 58.92 MB / 0.5261 GB Notification: Performance of SimCode: time 1.132e-06/8.948, allocations: 0 / 3.529 GB, free: 58.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07899/9.027, allocations: 35.12 MB / 3.564 GB, free: 49.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/9.028, allocations: 186.2 kB / 3.564 GB, free: 49.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.43/12.46, allocations: 4.031 kB / 3.564 GB, free: 49.43 MB / 0.5261 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