Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00156/0.001566, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001102/0.001102, allocations: 82.72 kB / 267.5 MB, free: 14.06 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.3077/0.3077, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.396e-05/4.422e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1821, allocations: 58.86 MB / 484.3 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.97/2.152, allocations: 0.5913 GB / 1.064 GB, free: 42.71 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/2.153, allocations: 93.56 kB / 1.064 GB, free: 42.66 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.664/3.817, allocations: 268.1 MB / 1.326 GB, free: 96.97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/3.817, allocations: 0 / 1.326 GB, free: 96.97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.763e-05/3.817, allocations: 17.55 kB / 1.326 GB, free: 96.97 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.004501/3.822, allocations: 1.193 MB / 1.327 GB, free: 96.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/3.822, allocations: 13.31 kB / 1.327 GB, free: 96.61 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002323/3.822, allocations: 83.06 kB / 1.327 GB, free: 96.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/3.824, allocations: 158.3 kB / 1.328 GB, free: 96.53 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/3.826, allocations: 0.4901 MB / 1.328 GB, free: 96.31 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/3.826, allocations: 32.22 kB / 1.328 GB, free: 96.31 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/3.826, allocations: 43.83 kB / 1.328 GB, free: 96.31 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/3.828, allocations: 0.6391 MB / 1.329 GB, free: 96.15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/3.828, allocations: 7.688 kB / 1.329 GB, free: 96.15 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/3.828, allocations: 23.27 kB / 1.329 GB, free: 96.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/3.828, allocations: 15.53 kB / 1.329 GB, free: 96.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/3.829, allocations: 491.9 kB / 1.329 GB, free: 96.14 MB / 0.5105 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.005137/3.835, allocations: 2.624 MB / 1.332 GB, free: 94.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/3.836, allocations: 309.4 kB / 1.332 GB, free: 94.47 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004457/3.836, allocations: 144.3 kB / 1.332 GB, free: 94.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005212/3.837, allocations: 326.9 kB / 1.333 GB, free: 94.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/3.837, allocations: 38.84 kB / 1.333 GB, free: 94.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 3.527e-06/3.837, allocations: 0 / 1.333 GB, free: 94.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.002015/3.839, allocations: 473.2 kB / 1.333 GB, free: 94.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/3.839, allocations: 160.1 kB / 1.333 GB, free: 93.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/3.84, allocations: 455.5 kB / 1.334 GB, free: 93.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001575/3.84, allocations: 34.67 kB / 1.334 GB, free: 93.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/3.84, allocations: 332.9 kB / 1.334 GB, free: 93.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/3.841, allocations: 130.8 kB / 1.334 GB, free: 93.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/3.841, allocations: 5.5 kB / 1.334 GB, free: 93.47 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.048e-05/3.841, allocations: 332.1 kB / 1.334 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/3.841, allocations: 131.9 kB / 1.335 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/3.842, allocations: 304.1 kB / 1.335 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005275/3.842, allocations: 179 kB / 1.335 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/3.842, allocations: 2.188 kB / 1.335 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001706/3.844, allocations: 0.5084 MB / 1.336 GB, free: 92.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/3.844, allocations: 7.531 kB / 1.336 GB, free: 92.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/3.844, allocations: 5.094 kB / 1.336 GB, free: 92.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/3.847, allocations: 237 kB / 1.336 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000867/3.847, allocations: 121.7 kB / 1.336 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006154/3.848, allocations: 0.5852 MB / 1.336 GB, free: 92.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009941/3.849, allocations: 72.3 kB / 1.337 GB, free: 92.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/3.849, allocations: 52.88 kB / 1.337 GB, free: 92.36 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 () * 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.0002356/3.85, allocations: 132.9 kB / 1.337 GB, free: 92.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/3.85, allocations: 66.75 kB / 1.337 GB, free: 92.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/3.852, allocations: 0.6883 MB / 1.337 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/3.853, allocations: 6.844 kB / 1.337 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/3.853, allocations: 1.578 kB / 1.337 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/3.853, allocations: 1.266 kB / 1.337 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/3.855, allocations: 0.9443 MB / 1.338 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/3.855, allocations: 1.844 kB / 1.338 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/3.855, allocations: 51.94 kB / 1.338 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/3.858, allocations: 231.3 kB / 1.339 GB, free: 91.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/3.858, allocations: 10.81 kB / 1.339 GB, free: 91.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005283/3.858, allocations: 0.5872 MB / 1.339 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/3.858, allocations: 5.469 kB / 1.339 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/3.86, allocations: 0.5225 MB / 1.34 GB, free: 90.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/3.86, allocations: 158.2 kB / 1.34 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/3.86, allocations: 7.531 kB / 1.34 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007563/3.861, allocations: 40.97 kB / 1.34 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.691e-05/3.861, allocations: 25.39 kB / 1.34 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.375e-05/3.861, allocations: 18.92 kB / 1.34 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008522/3.862, allocations: 401 kB / 1.34 GB, free: 90.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/3.862, allocations: 0 / 1.34 GB, free: 90.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002674/3.865, allocations: 435.3 kB / 1.341 GB, free: 90.62 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 () * 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.005135/3.87, allocations: 2.668 MB / 1.343 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001344/3.871, allocations: 342.3 kB / 1.344 GB, free: 89.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/3.871, allocations: 1.938 kB / 1.344 GB, free: 89.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004381/3.872, allocations: 129 kB / 1.344 GB, free: 89.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/3.875, allocations: 334.8 kB / 1.344 GB, free: 89.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/3.878, allocations: 0.8412 MB / 1.345 GB, free: 88.85 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/3.878, allocations: 0.8783 MB / 1.346 GB, free: 88.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008469/3.879, allocations: 243 kB / 1.346 GB, free: 88.14 MB / 0.5105 GB Notification: Performance of SimCode: time 1.152e-06/3.879, allocations: 0 / 1.346 GB, free: 88.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.27/7.15, allocations: 22.25 MB / 1.368 GB, free: 87.45 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat