Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 181.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 94.78 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.233/0.233, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1523, allocations: 58.86 MB / 490.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.693/1.845, allocations: 0.6127 GB / 1.092 GB, free: 16.91 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003832/1.846, allocations: 94.81 kB / 1.092 GB, free: 16.85 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.289/3.135, allocations: 272 MB / 1.357 GB, free: 99.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.513e-06/3.135, allocations: 0 / 1.357 GB, free: 99.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.05e-05/3.135, allocations: 19.73 kB / 1.357 GB, free: 99.82 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004826/3.14, allocations: 1.292 MB / 1.359 GB, free: 99.28 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/3.14, allocations: 10.97 kB / 1.359 GB, free: 99.28 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004333/3.141, allocations: 86.03 kB / 1.359 GB, free: 99.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/3.142, allocations: 154.7 kB / 1.359 GB, free: 99.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/3.143, allocations: 0.4994 MB / 1.359 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/3.143, allocations: 32.53 kB / 1.359 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/3.144, allocations: 44.5 kB / 1.359 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/3.145, allocations: 0.6413 MB / 1.36 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/3.145, allocations: 0 / 1.36 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/3.145, allocations: 30.39 kB / 1.36 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/3.145, allocations: 11.66 kB / 1.36 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009703/3.146, allocations: 0.4967 MB / 1.361 GB, free: 98.8 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003595/3.15, allocations: 2.633 MB / 1.363 GB, free: 97.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000608/3.15, allocations: 315.7 kB / 1.363 GB, free: 97.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000393/3.151, allocations: 333.6 kB / 1.364 GB, free: 96.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/3.151, allocations: 39.66 kB / 1.364 GB, free: 96.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 2.614e-06/3.151, allocations: 0 / 1.364 GB, free: 96.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001647/3.153, allocations: 0.7015 MB / 1.364 GB, free: 96.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/3.153, allocations: 161.9 kB / 1.365 GB, free: 96.44 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006709/3.153, allocations: 466.2 kB / 1.365 GB, free: 96.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.162e-05/3.153, allocations: 29.58 kB / 1.365 GB, free: 96.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/3.154, allocations: 302.6 kB / 1.365 GB, free: 96.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/3.154, allocations: 128.8 kB / 1.366 GB, free: 96.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/3.154, allocations: 7.75 kB / 1.366 GB, free: 96.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001065/3.154, allocations: 362 kB / 1.366 GB, free: 95.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/3.154, allocations: 146.6 kB / 1.366 GB, free: 95.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/3.154, allocations: 315.7 kB / 1.366 GB, free: 95.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/3.155, allocations: 188.8 kB / 1.367 GB, free: 95.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/3.155, allocations: 0 / 1.367 GB, free: 95.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001031/3.156, allocations: 0.5679 MB / 1.367 GB, free: 95.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/3.156, allocations: 7.344 kB / 1.367 GB, free: 95.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/3.156, allocations: 3.938 kB / 1.367 GB, free: 95.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/3.157, allocations: 240.6 kB / 1.367 GB, free: 95.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/3.158, allocations: 119.5 kB / 1.367 GB, free: 95.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003751/3.158, allocations: 0.5805 MB / 1.368 GB, free: 94.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/3.159, allocations: 76.2 kB / 1.368 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.396e-05/3.159, allocations: 49.41 kB / 1.368 GB, free: 94.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003189/3.159, allocations: 197.3 kB / 1.368 GB, free: 94.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/3.159, allocations: 57.84 kB / 1.368 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/3.161, allocations: 0.707 MB / 1.369 GB, free: 94.69 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/3.161, allocations: 3.25 kB / 1.369 GB, free: 94.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/3.161, allocations: 3.344 kB / 1.369 GB, free: 94.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/3.161, allocations: 9.766 kB / 1.369 GB, free: 94.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/3.162, allocations: 0.9555 MB / 1.37 GB, free: 94.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/3.162, allocations: 3.719 kB / 1.37 GB, free: 94.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/3.162, allocations: 52.08 kB / 1.37 GB, free: 94.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/3.164, allocations: 233.8 kB / 1.37 GB, free: 94.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/3.164, allocations: 10.78 kB / 1.37 GB, free: 94.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004084/3.164, allocations: 0.588 MB / 1.371 GB, free: 93.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/3.164, allocations: 0 / 1.371 GB, free: 93.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000793/3.165, allocations: 0.5424 MB / 1.371 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/3.165, allocations: 156 kB / 1.372 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/3.165, allocations: 10.31 kB / 1.372 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000496/3.166, allocations: 38.48 kB / 1.372 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/3.166, allocations: 24.98 kB / 1.372 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/3.166, allocations: 18.56 kB / 1.372 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000612/3.167, allocations: 412.2 kB / 1.372 GB, free: 93.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/3.167, allocations: 0 / 1.372 GB, free: 93.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001879/3.168, allocations: 440.9 kB / 1.372 GB, free: 93.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004471/3.173, allocations: 2.677 MB / 1.375 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001022/3.174, allocations: 363.7 kB / 1.375 GB, free: 91.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/3.174, allocations: 0 / 1.375 GB, free: 91.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/3.174, allocations: 141.4 kB / 1.376 GB, free: 91.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/3.176, allocations: 339.8 kB / 1.376 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006504/3.183, allocations: 6.25 MB / 1.382 GB, free: 87.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/3.183, allocations: 0.8811 MB / 1.383 GB, free: 86.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001075/3.184, allocations: 209.1 kB / 1.383 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/3.185, allocations: 227.3 kB / 1.383 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of SimCode: time 1.022e-06/3.185, allocations: 0 / 1.383 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07427/3.259, allocations: 35.21 MB / 1.418 GB, free: 85.24 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/3.259, allocations: 263.9 kB / 1.418 GB, free: 84.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.244/6.504, allocations: 3.094 kB / 1.418 GB, free: 84.88 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat