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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 97.06 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 175.7 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4618/0.4618, allocations: 43.55 MB / 314.5 MB, free: 8.793 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000579/0.0005794, allocations: 16 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1667, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5236/0.6904, allocations: 145.8 MB / 0.5748 GB, free: 9.848 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01498/0.7054, allocations: 9.25 MB / 0.5839 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009696/0.7064, allocations: 19.88 kB / 0.5839 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.7076, allocations: 274.5 kB / 0.5842 GB, free: 296 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006306/0.7139, allocations: 1.816 MB / 0.5859 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002591/0.7165, allocations: 0.7892 MB / 0.5867 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002289/0.7188, allocations: 1.021 MB / 0.5877 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007816/0.7196, allocations: 368.7 kB / 0.588 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.7214, allocations: 0.6701 MB / 0.5887 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005944/0.722, allocations: 390.6 kB / 0.5891 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.098e-05/0.7221, allocations: 28 kB / 0.5891 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.7256, allocations: 1.244 MB / 0.5903 GB, free: 10 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.7258, allocations: 139.5 kB / 0.5904 GB, free: 9.863 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.7261, allocations: 157.4 kB / 0.5906 GB, free: 9.703 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.7281, allocations: 1.145 MB / 0.5917 GB, free: 8.562 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.7281, allocations: 0 / 0.5917 GB, free: 8.562 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.7281, allocations: 0 / 0.5917 GB, free: 8.562 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.7281, allocations: 0 / 0.5917 GB, free: 8.562 MB / 462.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.002001/0.7301, allocations: 0.9795 MB / 0.5927 GB, free: 7.535 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.12e-05/0.7302, allocations: 12.03 kB / 0.5927 GB, free: 7.523 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.7303, allocations: 86.53 kB / 0.5928 GB, free: 7.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.7315, allocations: 163.6 kB / 0.5929 GB, free: 7.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000836/0.7323, allocations: 468.7 kB / 0.5934 GB, free: 6.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.7324, allocations: 37 kB / 0.5934 GB, free: 6.734 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.75e-05/0.7325, allocations: 40 kB / 0.5934 GB, free: 6.695 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.7336, allocations: 0.6399 MB / 0.5941 GB, free: 6.008 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.7337, allocations: 0 / 0.5941 GB, free: 6.008 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.9e-05/0.7337, allocations: 31.94 kB / 0.5941 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.7338, allocations: 12 kB / 0.5941 GB, free: 5.965 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009264/0.7347, allocations: 0.4917 MB / 0.5946 GB, free: 5.473 MB / 462.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.003442/0.7381, allocations: 2.645 MB / 0.5972 GB, free: 2.641 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006878/0.7388, allocations: 329.6 kB / 0.5975 GB, free: 2.312 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004697/0.7393, allocations: 323.9 kB / 0.5978 GB, free: 1.945 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.7394, allocations: 34.56 kB / 0.5978 GB, free: 1.902 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.184e-06/0.7394, allocations: 4 kB / 0.5978 GB, free: 1.898 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.001646/0.741, allocations: 0.6982 MB / 0.5985 GB, free: 1.172 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.7412, allocations: 162.2 kB / 0.5987 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006446/0.7418, allocations: 0.5184 MB / 0.5992 GB, free: 456 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.7419, allocations: 29.7 kB / 0.5992 GB, free: 420 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.7421, allocations: 299.7 kB / 0.5995 GB, free: 116 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.7423, allocations: 130.2 kB / 0.5996 GB, free: 15.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.7423, allocations: 12 kB / 0.5996 GB, free: 15.97 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.7425, allocations: 362.7 kB / 0.6 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.7428, allocations: 145 kB / 0.6001 GB, free: 15.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.7432, allocations: 326.9 kB / 0.6004 GB, free: 15.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.7436, allocations: 185 kB / 0.6006 GB, free: 14.89 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.7436, allocations: 4 kB / 0.6006 GB, free: 14.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009875/0.7446, allocations: 0.5717 MB / 0.6012 GB, free: 14.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.7446, allocations: 8.094 kB / 0.6012 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.7447, allocations: 8 kB / 0.6012 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/0.7463, allocations: 289 kB / 0.6014 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.7467, allocations: 119.9 kB / 0.6016 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005562/0.7473, allocations: 0.5913 MB / 0.6021 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.7478, allocations: 68.11 kB / 0.6022 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.521e-05/0.7479, allocations: 51.98 kB / 0.6023 GB, free: 13.15 MB / 478.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.0003234/0.7482, allocations: 193.8 kB / 0.6024 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.7483, allocations: 63.33 kB / 0.6025 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.75, allocations: 0.7553 MB / 0.6032 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.75, allocations: 4 kB / 0.6032 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.75, allocations: 3.953 kB / 0.6032 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.75, allocations: 3.984 kB / 0.6032 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.7517, allocations: 0.9916 MB / 0.6042 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.7517, allocations: 4 kB / 0.6042 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.7519, allocations: 55.91 kB / 0.6043 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003372/0.7553, allocations: 0.5355 MB / 0.6048 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.7554, allocations: 8 kB / 0.6048 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006722/0.756, allocations: 0.5914 MB / 0.6054 GB, free: 9.816 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.7561, allocations: 3.984 kB / 0.6054 GB, free: 9.812 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009022/0.757, allocations: 0.5731 MB / 0.6059 GB, free: 9.164 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.7572, allocations: 156.2 kB / 0.6061 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.7573, allocations: 12 kB / 0.6061 GB, free: 8.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.7577, allocations: 27.97 kB / 0.6061 GB, free: 8.953 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.152e-05/0.7578, allocations: 32.8 kB / 0.6062 GB, free: 8.922 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.7578, allocations: 15.98 kB / 0.6062 GB, free: 8.906 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005644/0.7584, allocations: 414.8 kB / 0.6066 GB, free: 8.504 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7584, allocations: 0 / 0.6066 GB, free: 8.504 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001174/0.7596, allocations: 335.7 kB / 0.6069 GB, free: 8.176 MB / 478.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.00229/0.7619, allocations: 1.876 MB / 0.6087 GB, free: 6.234 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008589/0.7627, allocations: 371.5 kB / 0.6091 GB, free: 5.871 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7628, allocations: 1.25 kB / 0.6091 GB, free: 5.871 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.7631, allocations: 163.4 kB / 0.6092 GB, free: 5.715 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.7647, allocations: 329.8 kB / 0.6096 GB, free: 5.395 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006314/0.771, allocations: 6.261 MB / 0.6157 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/0.7716, allocations: 0.8753 MB / 0.6165 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001043/0.7727, allocations: 216.8 kB / 0.6167 GB, free: 13.87 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/0.7731, allocations: 223.3 kB / 0.6169 GB, free: 13.65 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/0.7731, allocations: 0 / 0.6169 GB, free: 13.65 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3023/1.075, allocations: 21.7 MB / 0.6381 GB, free: 152.3 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/1.076, allocations: 268 kB / 0.6384 GB, free: 152 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.411/3.486, allocations: 0 / 0.6384 GB, free: 152 MB / 494.1 MB (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) Environment - environmentSimulation: 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