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.000969/0.000969, allocations: 181.1 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009546/0.0009543, allocations: 82.64 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2199/0.2199, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.655e-05/2.653e-05, allocations: 0 / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1579, allocations: 58.86 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.637/1.795, allocations: 0.5907 GB / 1.057 GB, free: 27.34 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.795, allocations: 94.88 kB / 1.057 GB, free: 27.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.237/3.032, allocations: 265.1 MB / 1.316 GB, free: 92.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.904e-06/3.032, allocations: 2.516 kB / 1.316 GB, free: 92.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.211e-05/3.032, allocations: 10.94 kB / 1.316 GB, free: 92.45 MB / 0.4948 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.003871/3.036, allocations: 1.203 MB / 1.317 GB, free: 91.97 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/3.036, allocations: 7.719 kB / 1.317 GB, free: 91.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/3.038, allocations: 159.3 kB / 1.317 GB, free: 91.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/3.039, allocations: 0.4936 MB / 1.317 GB, free: 91.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/3.039, allocations: 17.28 kB / 1.317 GB, free: 91.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.456e-05/3.039, allocations: 24.62 kB / 1.318 GB, free: 91.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009185/3.04, allocations: 429.5 kB / 1.318 GB, free: 91.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/3.041, allocations: 0.5525 MB / 1.318 GB, free: 91.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/3.041, allocations: 0 / 1.318 GB, free: 91.53 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/3.041, allocations: 5.062 kB / 1.318 GB, free: 91.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/3.041, allocations: 11.12 kB / 1.318 GB, free: 91.53 MB / 0.4948 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.003532/3.045, allocations: 2.59 MB / 1.321 GB, free: 89.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005045/3.045, allocations: 225.3 kB / 1.321 GB, free: 89.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/3.046, allocations: 124.5 kB / 1.321 GB, free: 89.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004104/3.046, allocations: 320.7 kB / 1.322 GB, free: 89.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/3.046, allocations: 40.94 kB / 1.322 GB, free: 89.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 3.106e-06/3.046, allocations: 3.094 kB / 1.322 GB, free: 89.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31): time 0.003546/3.05, allocations: 0.7758 MB / 1.322 GB, free: 89.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/3.05, allocations: 165.9 kB / 1.323 GB, free: 89.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005937/3.05, allocations: 383.5 kB / 1.323 GB, free: 89.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/3.05, allocations: 25.7 kB / 1.323 GB, free: 89.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/3.051, allocations: 322.4 kB / 1.323 GB, free: 89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.632e-05/3.051, allocations: 112.7 kB / 1.323 GB, free: 88.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/3.051, allocations: 0 / 1.323 GB, free: 88.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001112/3.051, allocations: 352.4 kB / 1.324 GB, free: 88.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/3.051, allocations: 124.3 kB / 1.324 GB, free: 88.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/3.051, allocations: 295.5 kB / 1.324 GB, free: 88.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/3.054, allocations: 0.5958 MB / 1.325 GB, free: 88.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/3.054, allocations: 0 / 1.325 GB, free: 88.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00368/3.058, allocations: 0.9231 MB / 1.326 GB, free: 88.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/3.058, allocations: 7.875 kB / 1.326 GB, free: 88.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/3.058, allocations: 7.875 kB / 1.326 GB, free: 88.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/3.058, allocations: 49.14 kB / 1.326 GB, free: 88.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/3.059, allocations: 118.6 kB / 1.326 GB, free: 88.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006137/3.06, allocations: 0.615 MB / 1.326 GB, free: 87.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000686/3.06, allocations: 52.7 kB / 1.326 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/3.06, allocations: 59.58 kB / 1.327 GB, free: 87.82 MB / 0.4948 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 () * 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.0001699/3.061, allocations: 116 kB / 1.327 GB, free: 87.72 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00339/3.064, allocations: 0.7833 MB / 1.327 GB, free: 87.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/3.064, allocations: 51.03 kB / 1.327 GB, free: 87.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/3.066, allocations: 0.597 MB / 1.328 GB, free: 87.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/3.066, allocations: 3.938 kB / 1.328 GB, free: 87.53 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/3.067, allocations: 3.969 kB / 1.328 GB, free: 87.53 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/3.067, allocations: 0 / 1.328 GB, free: 87.53 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/3.069, allocations: 1.148 MB / 1.329 GB, free: 86.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/3.069, allocations: 3.844 kB / 1.329 GB, free: 86.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/3.069, allocations: 46.36 kB / 1.329 GB, free: 86.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001798/3.07, allocations: 49.41 kB / 1.329 GB, free: 86.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/3.07, allocations: 3.969 kB / 1.329 GB, free: 86.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005635/3.07, allocations: 0.6113 MB / 1.33 GB, free: 86.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/3.07, allocations: 5.594 kB / 1.33 GB, free: 86.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/3.072, allocations: 0.6272 MB / 1.33 GB, free: 86.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/3.072, allocations: 151.5 kB / 1.331 GB, free: 85.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/3.072, allocations: 0 / 1.331 GB, free: 85.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/3.073, allocations: 34.09 kB / 1.331 GB, free: 85.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/3.073, allocations: 25.66 kB / 1.331 GB, free: 85.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.078e-05/3.073, allocations: 18.12 kB / 1.331 GB, free: 85.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00052/3.074, allocations: 320.6 kB / 1.331 GB, free: 85.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.456e-06/3.074, allocations: 1.625 kB / 1.331 GB, free: 85.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002013/3.076, allocations: 410.6 kB / 1.331 GB, free: 85.83 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.003923/3.08, allocations: 3.075 MB / 1.334 GB, free: 84.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006816/3.08, allocations: 318 kB / 1.335 GB, free: 84.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/3.08, allocations: 3.812 kB / 1.335 GB, free: 84.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/3.081, allocations: 117.5 kB / 1.335 GB, free: 84.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/3.082, allocations: 255.5 kB / 1.335 GB, free: 84.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/3.084, allocations: 0.7831 MB / 1.336 GB, free: 83.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/3.084, allocations: 0.8801 MB / 1.337 GB, free: 83.19 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008442/3.085, allocations: 204.7 kB / 1.337 GB, free: 83.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/3.085, allocations: 216.2 kB / 1.337 GB, free: 83.18 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/3.085, allocations: 0 / 1.337 GB, free: 83.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05213/3.137, allocations: 24.3 MB / 1.361 GB, free: 82.12 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/3.138, allocations: 191.7 kB / 1.361 GB, free: 81.92 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.915/6.053, allocations: 0.7812 kB / 1.361 GB, free: 81.92 MB / 0.4948 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