Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008838/0.0008838, allocations: 107.4 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.22/0.22, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.218e-05/2.22e-05, allocations: 4 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1453, allocations: 61.91 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.265, allocations: 339 MB / 0.8259 GB, free: 49.34 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/1.266, allocations: 88.81 kB / 0.826 GB, free: 49.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.623/2.889, allocations: 460.2 MB / 1.275 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.493e-06/2.889, allocations: 0 / 1.275 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.843e-05/2.889, allocations: 43.98 kB / 1.275 GB, free: 3.738 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004986/2.894, allocations: 1.931 MB / 1.277 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/2.894, allocations: 15.97 kB / 1.277 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/2.895, allocations: 237.7 kB / 1.278 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/2.897, allocations: 1.095 MB / 1.279 GB, free: 376 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/2.897, allocations: 44 kB / 1.279 GB, free: 332 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/2.897, allocations: 72 kB / 1.279 GB, free: 260 kB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002293/2.899, allocations: 1.384 MB / 1.28 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002968/2.902, allocations: 1.614 MB / 1.282 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/2.903, allocations: 7.938 kB / 1.282 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/2.903, allocations: 8 kB / 1.282 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-05/2.903, allocations: 39.98 kB / 1.282 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01215/2.915, allocations: 10.43 MB / 1.292 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009178/2.916, allocations: 0.6086 MB / 1.293 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004884/2.916, allocations: 359.1 kB / 1.293 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3932/3.31, allocations: 4.274 MB / 1.297 GB, free: 55.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/3.31, allocations: 47.58 kB / 1.297 GB, free: 55.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 3.606e-06/3.31, allocations: 0 / 1.297 GB, free: 55.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.005796/3.316, allocations: 1.216 MB / 1.298 GB, free: 55.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.503e-05/3.316, allocations: 371.5 kB / 1.299 GB, free: 54.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/3.317, allocations: 1.021 MB / 1.3 GB, free: 54.51 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/3.318, allocations: 29.48 kB / 1.3 GB, free: 54.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006678/3.318, allocations: 0.8994 MB / 1.301 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/3.318, allocations: 197.3 kB / 1.301 GB, free: 54.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/3.318, allocations: 3.281 kB / 1.301 GB, free: 54.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001405/3.319, allocations: 358.8 kB / 1.301 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000579/3.319, allocations: 342.5 kB / 1.301 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000977/3.32, allocations: 0.9314 MB / 1.302 GB, free: 52.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004902/3.325, allocations: 1.07 MB / 1.303 GB, free: 52.97 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/3.325, allocations: 7.719 kB / 1.303 GB, free: 52.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.006593/3.332, allocations: 1.883 MB / 1.305 GB, free: 52.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/3.332, allocations: 11.53 kB / 1.305 GB, free: 52.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/3.332, allocations: 17.91 kB / 1.305 GB, free: 52.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-05/3.332, allocations: 28.12 kB / 1.305 GB, free: 52.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/3.334, allocations: 0.5072 MB / 1.306 GB, free: 52.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/3.336, allocations: 1.917 MB / 1.308 GB, free: 51.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/3.338, allocations: 198.2 kB / 1.308 GB, free: 51.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/3.338, allocations: 88.17 kB / 1.308 GB, free: 51.05 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003243/3.338, allocations: 156.1 kB / 1.308 GB, free: 50.94 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005063/3.343, allocations: 1.213 MB / 1.309 GB, free: 50.83 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/3.343, allocations: 139.5 kB / 1.309 GB, free: 50.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003905/3.347, allocations: 1.691 MB / 1.311 GB, free: 50.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.822e-05/3.347, allocations: 13.19 kB / 1.311 GB, free: 50.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/3.347, allocations: 0.5312 kB / 1.311 GB, free: 50.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/3.347, allocations: 4.062 kB / 1.311 GB, free: 50.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/3.35, allocations: 1.024 MB / 1.312 GB, free: 50.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/3.35, allocations: 3.438 kB / 1.312 GB, free: 50.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/3.351, allocations: 234.3 kB / 1.312 GB, free: 50.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005372/3.351, allocations: 74.02 kB / 1.312 GB, free: 50.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-05/3.351, allocations: 25.19 kB / 1.312 GB, free: 50.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/3.352, allocations: 1.806 MB / 1.314 GB, free: 48.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/3.353, allocations: 1.094 kB / 1.314 GB, free: 48.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/3.356, allocations: 1.279 MB / 1.315 GB, free: 48.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006462/3.357, allocations: 286.8 kB / 1.316 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/3.357, allocations: 1.969 kB / 1.316 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/3.358, allocations: 55.08 kB / 1.316 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/3.358, allocations: 66.28 kB / 1.316 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/3.359, allocations: 66.3 kB / 1.316 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001257/3.36, allocations: 0.7435 MB / 1.317 GB, free: 48.28 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/3.36, allocations: 0 / 1.317 GB, free: 48.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00406/3.364, allocations: 0.9077 MB / 1.317 GB, free: 48.26 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006201/3.37, allocations: 2.989 MB / 1.32 GB, free: 47.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003872/3.374, allocations: 1.146 MB / 1.321 GB, free: 47.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.497e-06/3.374, allocations: 3.625 kB / 1.321 GB, free: 47.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00157/3.376, allocations: 0.5002 MB / 1.322 GB, free: 47.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/3.379, allocations: 0.575 MB / 1.323 GB, free: 47.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006187/3.386, allocations: 2.247 MB / 1.325 GB, free: 46.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007941/3.386, allocations: 1.281 MB / 1.326 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002135/3.389, allocations: 427.5 kB / 1.326 GB, free: 46.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007469/3.389, allocations: 0.6186 MB / 1.327 GB, free: 46.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/3.389, allocations: 1.656 kB / 1.327 GB, free: 46.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.121/3.51, allocations: 48.64 MB / 1.374 GB, free: 43.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/3.511, allocations: 198.1 kB / 1.375 GB, free: 43.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.93/7.441, allocations: 4 kB / 1.375 GB, free: 43.17 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat does not exist to compare? outputFormat=mat