Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01375/0.01376, allocations: 162 kB / 15.12 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.809/1.809, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001736/0.001736, allocations: 106.8 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4643/0.4643, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004877, allocations: 12 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1103, allocations: 48.71 MB / 411.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5853/0.6956, allocations: 170.7 MB / 0.5688 GB, free: 3.305 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01854/0.7142, allocations: 6.501 MB / 0.5752 GB, free: 12.8 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009564/0.7152, allocations: 19.88 kB / 0.5752 GB, free: 12.78 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.7168, allocations: 250.4 kB / 0.5754 GB, free: 12.53 MB / 426.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01048/0.7273, allocations: 1.93 MB / 0.5773 GB, free: 10.61 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004253/0.7316, allocations: 0.7466 MB / 0.578 GB, free: 9.875 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004525/0.7361, allocations: 1.883 MB / 0.5799 GB, free: 7.984 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.7374, allocations: 365.3 kB / 0.5802 GB, free: 7.621 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002832/0.7402, allocations: 0.6887 MB / 0.5809 GB, free: 6.93 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.7418, allocations: 494.1 kB / 0.5814 GB, free: 6.445 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.742, allocations: 24 kB / 0.5814 GB, free: 6.422 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004189/0.7462, allocations: 1.226 MB / 0.5826 GB, free: 5.195 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003478/0.7466, allocations: 139.5 kB / 0.5827 GB, free: 5.059 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003555/0.7469, allocations: 157.4 kB / 0.5829 GB, free: 4.898 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003018/0.75, allocations: 1.154 MB / 0.584 GB, free: 3.742 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.75, allocations: 0 / 0.584 GB, free: 3.742 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.75, allocations: 0 / 0.584 GB, free: 3.742 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.7501, allocations: 4 kB / 0.584 GB, free: 3.738 MB / 426.7 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.002851/0.7529, allocations: 0.9896 MB / 0.585 GB, free: 2.695 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.753, allocations: 12.03 kB / 0.585 GB, free: 2.684 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/0.7532, allocations: 91.52 kB / 0.5851 GB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.755, allocations: 155.2 kB / 0.5852 GB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.7565, allocations: 0.4888 MB / 0.5857 GB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.817e-05/0.7566, allocations: 33 kB / 0.5857 GB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.7568, allocations: 44 kB / 0.5858 GB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.7588, allocations: 0.636 MB / 0.5864 GB, free: 1.145 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.7589, allocations: 4 kB / 0.5864 GB, free: 1.141 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.759, allocations: 16 kB / 0.5864 GB, free: 1.125 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.759, allocations: 15.98 kB / 0.5864 GB, free: 1.109 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.7606, allocations: 0.4917 MB / 0.5869 GB, free: 0.6172 MB / 426.7 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.2741/1.035, allocations: 2.604 MB / 0.5894 GB, free: 140.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/1.036, allocations: 311.7 kB / 0.5897 GB, free: 140.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004654/1.036, allocations: 168.7 kB / 0.5899 GB, free: 140.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001801/1.038, allocations: 1.314 MB / 0.5912 GB, free: 139.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/1.038, allocations: 42.06 kB / 0.5912 GB, free: 139.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.777e-06/1.038, allocations: 0 / 0.5912 GB, free: 139.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.002584/1.041, allocations: 0.6808 MB / 0.5919 GB, free: 139.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/1.041, allocations: 167.3 kB / 0.592 GB, free: 139.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007824/1.042, allocations: 450 kB / 0.5925 GB, free: 139 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.338e-05/1.042, allocations: 31.83 kB / 0.5925 GB, free: 138.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/1.042, allocations: 321.4 kB / 0.5928 GB, free: 138.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/1.042, allocations: 129.5 kB / 0.5929 GB, free: 138.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/1.042, allocations: 10.92 kB / 0.5929 GB, free: 138.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/1.042, allocations: 363.8 kB / 0.5933 GB, free: 138.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/1.043, allocations: 145.9 kB / 0.5934 GB, free: 138.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/1.043, allocations: 368.3 kB / 0.5938 GB, free: 138.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005417/1.044, allocations: 198.5 kB / 0.594 GB, free: 138.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.044, allocations: 6.219 kB / 0.594 GB, free: 138.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001675/1.046, allocations: 0.6043 MB / 0.5946 GB, free: 138 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/1.046, allocations: 7.969 kB / 0.5946 GB, free: 138 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/1.046, allocations: 10.59 kB / 0.5946 GB, free: 138 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/1.049, allocations: 292.6 kB / 0.5949 GB, free: 138 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008372/1.049, allocations: 132.1 kB / 0.595 GB, free: 138 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005538/1.05, allocations: 0.5912 MB / 0.5956 GB, free: 137.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006822/1.051, allocations: 59.83 kB / 0.5956 GB, free: 137.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/1.051, allocations: 57.69 kB / 0.5957 GB, free: 137.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (60): * Single equations (assignments): 59 * 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.0003762/1.051, allocations: 198.7 kB / 0.5959 GB, free: 137.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/1.051, allocations: 57.5 kB / 0.5959 GB, free: 137.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/1.054, allocations: 0.7214 MB / 0.5966 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/1.054, allocations: 4.125 kB / 0.5966 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.054, allocations: 1.375 kB / 0.5966 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.054, allocations: 3.234 kB / 0.5966 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004326/1.059, allocations: 2.561 MB / 0.5991 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.059, allocations: 2.5 kB / 0.5991 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/1.059, allocations: 87.86 kB / 0.5992 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005947/1.065, allocations: 0.5405 MB / 0.5997 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.927e-05/1.065, allocations: 14.91 kB / 0.5998 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000481/1.066, allocations: 0.5985 MB / 0.6003 GB, free: 135 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.066, allocations: 7.219 kB / 0.6004 GB, free: 135 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/1.067, allocations: 0.5947 MB / 0.6009 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/1.067, allocations: 192.5 kB / 0.6011 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/1.067, allocations: 17.61 kB / 0.6011 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/1.068, allocations: 28.08 kB / 0.6012 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.068, allocations: 32.88 kB / 0.6012 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.051e-05/1.068, allocations: 29.83 kB / 0.6012 GB, free: 134.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004994/1.069, allocations: 320 kB / 0.6015 GB, free: 134.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.069, allocations: 0 / 0.6015 GB, free: 134.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001478/1.07, allocations: 341.5 kB / 0.6018 GB, free: 134.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (37): * Single equations (assignments): 36 * 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.002781/1.073, allocations: 1.508 MB / 0.6033 GB, free: 133.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001359/1.074, allocations: 418 kB / 0.6037 GB, free: 133.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/1.074, allocations: 4 kB / 0.6037 GB, free: 133.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005916/1.075, allocations: 211.7 kB / 0.6039 GB, free: 133.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/1.078, allocations: 281.5 kB / 0.6042 GB, free: 133 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007341/1.085, allocations: 3.223 MB / 0.6073 GB, free: 131.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/1.086, allocations: 0.8828 MB / 0.6082 GB, free: 130.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00148/1.087, allocations: 206.9 kB / 0.6084 GB, free: 130.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007343/1.088, allocations: 240.3 kB / 0.6086 GB, free: 130.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.793e-06/1.088, allocations: 0 / 0.6086 GB, free: 130.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06373/1.152, allocations: 19.82 MB / 0.628 GB, free: 125 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/1.152, allocations: 281.8 kB / 0.6283 GB, free: 124.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.616/4.768, allocations: 3.938 kB / 0.6283 GB, free: 124.6 MB / 426.7 MB