Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.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.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",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.001086/0.001086, allocations: 177.6 kB / 8.003 MB, free: 1.07 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.532/1.532, allocations: 205.3 MB / 213.7 MB, free: 1.746 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.000885/0.0008849, allocations: 90.62 kB / 261.7 MB, free: 1.684 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.2111/0.2111, allocations: 43.5 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.714e-05/1.714e-05, allocations: 0 / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1293, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5643/0.6936, allocations: 89.37 MB / 0.5533 GB, free: 5.754 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.6939, allocations: 97.16 kB / 0.5534 GB, free: 5.699 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02065/0.7146, allocations: 5.773 MB / 0.5591 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7147, allocations: 0 / 0.5591 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.7147, allocations: 4 kB / 0.5591 GB, free: 0.7773 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.000685/0.7154, allocations: 0.4889 MB / 0.5595 GB, free: 264 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.7155, allocations: 12.03 kB / 0.5595 GB, free: 252 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.7169, allocations: 171.5 kB / 0.5597 GB, free: 92 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.7174, allocations: 251.3 kB / 0.5599 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.7174, allocations: 12 kB / 0.56 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.7175, allocations: 12 kB / 0.56 GB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006312/0.7181, allocations: 321.9 kB / 0.5603 GB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007238/0.7189, allocations: 391.1 kB / 0.5607 GB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.7189, allocations: 0 / 0.5607 GB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.7189, allocations: 0 / 0.5607 GB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.895e-05/0.719, allocations: 20.55 kB / 0.5607 GB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002773/0.7218, allocations: 1.627 MB / 0.5623 GB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.722, allocations: 72.3 kB / 0.5623 GB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.7222, allocations: 40.08 kB / 0.5624 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.7222, allocations: 7.812 kB / 0.5624 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.7222, allocations: 34.56 kB / 0.5624 GB, free: 13.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.384e-06/0.7223, allocations: 0 / 0.5624 GB, free: 13.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004504/0.7227, allocations: 108.2 kB / 0.5625 GB, free: 13.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.7228, allocations: 55.56 kB / 0.5626 GB, free: 13.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.7231, allocations: 197.7 kB / 0.5628 GB, free: 13.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.7231, allocations: 25.7 kB / 0.5628 GB, free: 13.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.7233, allocations: 190.5 kB / 0.563 GB, free: 12.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.7234, allocations: 30.91 kB / 0.563 GB, free: 12.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.7234, allocations: 0 / 0.563 GB, free: 12.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.7236, allocations: 325.3 kB / 0.5633 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.7237, allocations: 53.36 kB / 0.5633 GB, free: 12.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.724, allocations: 104.6 kB / 0.5634 GB, free: 12.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.7242, allocations: 74.06 kB / 0.5635 GB, free: 12.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7242, allocations: 0 / 0.5635 GB, free: 12.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005455/0.7248, allocations: 189.3 kB / 0.5637 GB, free: 12.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.7248, allocations: 4 kB / 0.5637 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.7248, allocations: 4 kB / 0.5637 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.7249, allocations: 8.188 kB / 0.5637 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/0.727, allocations: 111.8 kB / 0.5638 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.7289, allocations: 1.85 MB / 0.5656 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.7291, allocations: 15.84 kB / 0.5656 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.7292, allocations: 15.42 kB / 0.5657 GB, free: 10.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 16 * 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.0001093/0.7293, allocations: 111.5 kB / 0.5658 GB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002195/0.7295, allocations: 110.7 kB / 0.5659 GB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.7296, allocations: 15.8 kB / 0.5659 GB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.7299, allocations: 148.8 kB / 0.566 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.73, allocations: 4 kB / 0.566 GB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.73, allocations: 3.938 kB / 0.566 GB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.73, allocations: 3.953 kB / 0.566 GB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.7303, allocations: 248.2 kB / 0.5663 GB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7303, allocations: 0 / 0.5663 GB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.7314, allocations: 100.7 kB / 0.5664 GB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.7315, allocations: 0 / 0.5664 GB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.7315, allocations: 3.984 kB / 0.5664 GB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.7328, allocations: 1.8 MB / 0.5681 GB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7328, allocations: 4.281 kB / 0.5681 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.733, allocations: 206.9 kB / 0.5683 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.7331, allocations: 92.91 kB / 0.5684 GB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.7332, allocations: 4 kB / 0.5684 GB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.7334, allocations: 7.984 kB / 0.5684 GB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.7334, allocations: 11.55 kB / 0.5684 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.7335, allocations: 4 kB / 0.5684 GB, free: 7.156 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001495/0.7336, allocations: 160.6 kB / 0.5686 GB, free: 7.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7336, allocations: 0 / 0.5686 GB, free: 7.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004217/0.7341, allocations: 79.69 kB / 0.5687 GB, free: 6.945 MB / 378.7 MB 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 (11): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0007003/0.7348, allocations: 0.7908 MB / 0.5694 GB, free: 6.145 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.7362, allocations: 184.5 kB / 0.5696 GB, free: 5.984 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7362, allocations: 0 / 0.5696 GB, free: 5.984 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007506/0.7369, allocations: 92.14 kB / 0.5697 GB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.7372, allocations: 16.11 kB / 0.5697 GB, free: 5.891 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009589/0.7381, allocations: 372.5 kB / 0.5701 GB, free: 5.504 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.7385, allocations: 0.7937 MB / 0.5709 GB, free: 4.688 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000142/0.7387, allocations: 45.11 kB / 0.5709 GB, free: 4.645 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.7388, allocations: 65.22 kB / 0.571 GB, free: 4.625 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.7388, allocations: 0 / 0.571 GB, free: 4.625 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.7667, allocations: 5.257 MB / 0.5761 GB, free: 15.37 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003167/0.767, allocations: 194.5 kB / 0.5763 GB, free: 15.17 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.613, allocations: 0 / 0.5763 GB, free: 15.17 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat