Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008877/0.0008877, allocations: 94.84 kB / 16.99 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008576/0.0008577, allocations: 182 kB / 17.88 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 241.8 MB, free: 14.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2326/0.2326, allocations: 44.22 MB / 337.1 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003811, allocations: 12 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1685, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5195/0.6881, allocations: 145.7 MB / 0.6028 GB, free: 108 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008927/0.697, allocations: 5.641 MB / 0.6083 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000793/0.6979, allocations: 15.88 kB / 0.6084 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.699, allocations: 270.7 kB / 0.6086 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004751/0.7037, allocations: 1.353 MB / 0.6099 GB, free: 8.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.7062, allocations: 0.7889 MB / 0.6107 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002158/0.7084, allocations: 1.015 MB / 0.6117 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007095/0.7091, allocations: 367.9 kB / 0.6121 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.7107, allocations: 0.6701 MB / 0.6127 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.7113, allocations: 382.6 kB / 0.6131 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.18e-05/0.7114, allocations: 28 kB / 0.6131 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002617/0.714, allocations: 1.1 MB / 0.6142 GB, free: 4.488 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.7142, allocations: 143.5 kB / 0.6143 GB, free: 4.348 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.7144, allocations: 161.4 kB / 0.6145 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.7161, allocations: 1.077 MB / 0.6155 GB, free: 3.109 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.7161, allocations: 0 / 0.6155 GB, free: 3.109 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7161, allocations: 0 / 0.6155 GB, free: 3.109 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.7162, allocations: 0 / 0.6155 GB, free: 3.109 MB / 446.1 MB 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.001856/0.718, allocations: 0.9396 MB / 0.6164 GB, free: 2.117 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.7181, allocations: 11.97 kB / 0.6164 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.7182, allocations: 90.52 kB / 0.6165 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.7194, allocations: 155.1 kB / 0.6167 GB, free: 1.855 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008092/0.7202, allocations: 464.8 kB / 0.6171 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.7202, allocations: 33 kB / 0.6172 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.865e-05/0.7203, allocations: 40 kB / 0.6172 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.7214, allocations: 0.6477 MB / 0.6178 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.7215, allocations: 0 / 0.6178 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.7215, allocations: 20 kB / 0.6178 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.7216, allocations: 16 kB / 0.6179 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000869/0.7224, allocations: 0.4917 MB / 0.6183 GB, free: 68 kB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.003076/0.7255, allocations: 2.641 MB / 0.6209 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006793/0.7262, allocations: 326.5 kB / 0.6212 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004513/0.7267, allocations: 437.6 kB / 0.6217 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.7267, allocations: 42.56 kB / 0.6217 GB, free: 12.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.895e-06/0.7267, allocations: 3.938 kB / 0.6217 GB, free: 12.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.001632/0.7284, allocations: 0.6984 MB / 0.6224 GB, free: 11.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.102e-05/0.7285, allocations: 158.2 kB / 0.6225 GB, free: 11.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000655/0.7291, allocations: 0.5145 MB / 0.623 GB, free: 10.89 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/0.7292, allocations: 33.7 kB / 0.6231 GB, free: 10.85 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.7295, allocations: 307.5 kB / 0.6234 GB, free: 10.54 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.7296, allocations: 122.2 kB / 0.6235 GB, free: 10.42 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.7296, allocations: 12 kB / 0.6235 GB, free: 10.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.7298, allocations: 370.7 kB / 0.6238 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.7301, allocations: 145 kB / 0.624 GB, free: 9.898 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.7306, allocations: 322.9 kB / 0.6243 GB, free: 9.504 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.7309, allocations: 200.8 kB / 0.6245 GB, free: 9.309 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.7309, allocations: 0 / 0.6245 GB, free: 9.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001008/0.7319, allocations: 0.5642 MB / 0.625 GB, free: 8.734 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.732, allocations: 14.59 kB / 0.625 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.732, allocations: 8.031 kB / 0.625 GB, free: 8.715 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.7336, allocations: 288.5 kB / 0.6253 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/0.734, allocations: 116.8 kB / 0.6254 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005179/0.7345, allocations: 0.5991 MB / 0.626 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.735, allocations: 63.42 kB / 0.6261 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.901e-05/0.7351, allocations: 51.98 kB / 0.6261 GB, free: 7.578 MB / 462.1 MB 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 () * Number of clocked 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.0003515/0.7355, allocations: 194.2 kB / 0.6263 GB, free: 7.379 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.7356, allocations: 59.34 kB / 0.6264 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.7377, allocations: 1.111 MB / 0.6275 GB, free: 6.188 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.7378, allocations: 4 kB / 0.6275 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.7378, allocations: 7.938 kB / 0.6275 GB, free: 6.176 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.7378, allocations: 3.984 kB / 0.6275 GB, free: 6.172 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.7393, allocations: 1.004 MB / 0.6285 GB, free: 5.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.7393, allocations: 4 kB / 0.6285 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.7395, allocations: 51.91 kB / 0.6285 GB, free: 5.035 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003246/0.7428, allocations: 0.5277 MB / 0.629 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/0.7429, allocations: 11.98 kB / 0.629 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004343/0.7433, allocations: 0.6031 MB / 0.6296 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7433, allocations: 0 / 0.6296 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008335/0.7442, allocations: 0.5693 MB / 0.6302 GB, free: 3.219 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.7444, allocations: 160.1 kB / 0.6303 GB, free: 3.043 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.7445, allocations: 12 kB / 0.6303 GB, free: 3.031 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.7449, allocations: 19.98 kB / 0.6304 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.745, allocations: 31.92 kB / 0.6304 GB, free: 2.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.745, allocations: 19.98 kB / 0.6304 GB, free: 2.961 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005708/0.7456, allocations: 410.8 kB / 0.6308 GB, free: 2.562 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7456, allocations: 0 / 0.6308 GB, free: 2.562 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001136/0.7468, allocations: 299.7 kB / 0.6311 GB, free: 2.27 MB / 462.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002377/0.7492, allocations: 1.8 MB / 0.6328 GB, free: 408 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009742/0.7501, allocations: 364.9 kB / 0.6332 GB, free: 44 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7502, allocations: 4 kB / 0.6332 GB, free: 40 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.7505, allocations: 159.8 kB / 0.6333 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.7521, allocations: 336.8 kB / 0.6337 GB, free: 15.56 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007099/0.7592, allocations: 6.273 MB / 0.6398 GB, free: 9.117 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.7603, allocations: 0.8831 MB / 0.6407 GB, free: 8.207 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001959/0.7623, allocations: 0.5581 MB / 0.6412 GB, free: 7.648 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005605/0.7628, allocations: 239.3 kB / 0.6414 GB, free: 7.414 MB / 478.1 MB Notification: Performance of SimCode: time 2.876e-06/0.7628, allocations: 4 kB / 0.6414 GB, free: 7.41 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04472/0.8076, allocations: 20.69 MB / 0.6616 GB, free: 3.059 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.8078, allocations: 266.1 kB / 0.6619 GB, free: 2.703 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/3.138, allocations: 0 / 0.6619 GB, free: 2.703 MB / 494.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat