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.001504/0.001504, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.665/1.665, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001031/0.001032, allocations: 93.55 kB / 267.1 MB, free: 9.273 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.4443/0.4443, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.45e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1515, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.757/1.909, allocations: 0.5913 GB / 1.064 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/1.909, allocations: 91.88 kB / 1.064 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.401/3.31, allocations: 268.1 MB / 1.326 GB, free: 88.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.593e-06/3.31, allocations: 0 / 1.326 GB, free: 88.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.976e-05/3.31, allocations: 17.62 kB / 1.326 GB, free: 88.18 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.003761/3.314, allocations: 1.206 MB / 1.327 GB, free: 87.78 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/3.314, allocations: 9.469 kB / 1.327 GB, free: 87.78 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/3.314, allocations: 83.05 kB / 1.327 GB, free: 87.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/3.316, allocations: 157 kB / 1.328 GB, free: 87.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/3.317, allocations: 499.6 kB / 1.328 GB, free: 87.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-05/3.317, allocations: 42.36 kB / 1.328 GB, free: 87.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.73e-05/3.317, allocations: 42.53 kB / 1.328 GB, free: 87.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/3.318, allocations: 0.6285 MB / 1.329 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/3.319, allocations: 1.219 kB / 1.329 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.898e-05/3.319, allocations: 25.97 kB / 1.329 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/3.319, allocations: 13.56 kB / 1.329 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009975/3.32, allocations: 487.4 kB / 1.329 GB, free: 87.32 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.003779/3.323, allocations: 2.628 MB / 1.332 GB, free: 85.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006079/3.324, allocations: 305.5 kB / 1.332 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/3.324, allocations: 153.4 kB / 1.332 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004482/3.325, allocations: 323.2 kB / 1.333 GB, free: 85.36 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/3.325, allocations: 41.36 kB / 1.333 GB, free: 85.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 3.156e-06/3.325, allocations: 5.25 kB / 1.333 GB, free: 85.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001183/3.326, allocations: 466.1 kB / 1.333 GB, free: 85.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/3.326, allocations: 161.6 kB / 1.333 GB, free: 85.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005731/3.327, allocations: 455.9 kB / 1.334 GB, free: 84.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/3.327, allocations: 39.38 kB / 1.334 GB, free: 84.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/3.327, allocations: 301.8 kB / 1.334 GB, free: 84.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.154e-05/3.327, allocations: 125.2 kB / 1.334 GB, free: 84.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/3.327, allocations: 3.938 kB / 1.334 GB, free: 84.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001065/3.327, allocations: 368 kB / 1.334 GB, free: 84.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/3.327, allocations: 129.2 kB / 1.335 GB, free: 84.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/3.328, allocations: 315 kB / 1.335 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/3.328, allocations: 176.6 kB / 1.335 GB, free: 84.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/3.328, allocations: 0 / 1.335 GB, free: 84.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008585/3.329, allocations: 0.5511 MB / 1.336 GB, free: 84.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/3.329, allocations: 12.53 kB / 1.336 GB, free: 84.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/3.329, allocations: 6.188 kB / 1.336 GB, free: 84.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/3.33, allocations: 234.8 kB / 1.336 GB, free: 84.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/3.331, allocations: 117.2 kB / 1.336 GB, free: 84.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003981/3.331, allocations: 0.5911 MB / 1.337 GB, free: 83.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/3.332, allocations: 69.33 kB / 1.337 GB, free: 83.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-05/3.332, allocations: 50.5 kB / 1.337 GB, free: 83.57 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.0001491/3.332, allocations: 137.9 kB / 1.337 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/3.332, allocations: 63.44 kB / 1.337 GB, free: 83.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/3.334, allocations: 0.6942 MB / 1.337 GB, free: 83.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/3.334, allocations: 3.281 kB / 1.337 GB, free: 83.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/3.334, allocations: 3.375 kB / 1.337 GB, free: 83.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/3.334, allocations: 0 / 1.337 GB, free: 83.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/3.335, allocations: 0.9503 MB / 1.338 GB, free: 82.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/3.335, allocations: 3.844 kB / 1.338 GB, free: 82.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/3.335, allocations: 50.41 kB / 1.338 GB, free: 82.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/3.337, allocations: 231.8 kB / 1.339 GB, free: 82.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/3.337, allocations: 12.28 kB / 1.339 GB, free: 82.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000335/3.337, allocations: 0.58 MB / 1.339 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/3.337, allocations: 4.188 kB / 1.339 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/3.338, allocations: 0.5252 MB / 1.34 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/3.338, allocations: 161.2 kB / 1.34 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.018e-05/3.338, allocations: 12.8 kB / 1.34 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/3.338, allocations: 27.75 kB / 1.34 GB, free: 81.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/3.338, allocations: 30.31 kB / 1.34 GB, free: 81.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/3.338, allocations: 15.66 kB / 1.34 GB, free: 81.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005385/3.339, allocations: 403.3 kB / 1.34 GB, free: 81.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/3.339, allocations: 0 / 1.34 GB, free: 81.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00239/3.341, allocations: 436.8 kB / 1.341 GB, free: 81.83 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.005056/3.346, allocations: 2.668 MB / 1.343 GB, free: 80.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009333/3.347, allocations: 339.7 kB / 1.344 GB, free: 80.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/3.347, allocations: 0 / 1.344 GB, free: 80.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002805/3.348, allocations: 128.8 kB / 1.344 GB, free: 80.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/3.35, allocations: 342 kB / 1.344 GB, free: 80.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/3.353, allocations: 0.8118 MB / 1.345 GB, free: 80.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/3.353, allocations: 0.8764 MB / 1.346 GB, free: 79.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001203/3.354, allocations: 212 kB / 1.346 GB, free: 79.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004792/3.355, allocations: 223.5 kB / 1.346 GB, free: 79.38 MB / 0.5105 GB Notification: Performance of SimCode: time 1.954e-06/3.355, allocations: 0 / 1.346 GB, free: 79.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09404/3.449, allocations: 38.07 MB / 1.383 GB, free: 77.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/3.449, allocations: 230.5 kB / 1.384 GB, free: 77.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.288/6.737, allocations: 3.938 kB / 1.384 GB, free: 77.62 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