Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009639/0.000964, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 221.3 MB / 236 MB, free: 2.953 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.0008879/0.0008878, allocations: 88.05 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1909/0.1909, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.047e-05, allocations: 224 / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.318/1.443, allocations: 493.4 MB / 0.9836 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/1.443, allocations: 97.66 kB / 0.9837 GB, free: 157 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7255/2.169, allocations: 212.7 MB / 1.191 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.734e-06/2.169, allocations: 0 / 1.191 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.814e-05/2.169, allocations: 16.69 kB / 1.191 GB, free: 122.5 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001715/2.171, allocations: 0.8645 MB / 1.192 GB, free: 122 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/2.171, allocations: 10.47 kB / 1.192 GB, free: 122 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000918/2.172, allocations: 133.8 kB / 1.192 GB, free: 122 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007373/2.172, allocations: 489.6 kB / 1.193 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/2.173, allocations: 34.75 kB / 1.193 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/2.173, allocations: 38.41 kB / 1.193 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009724/2.174, allocations: 0.5856 MB / 1.193 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/2.174, allocations: 1.125 kB / 1.193 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.904e-05/2.174, allocations: 22.56 kB / 1.194 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/2.174, allocations: 13.88 kB / 1.194 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006953/2.174, allocations: 453.5 kB / 1.194 GB, free: 121.6 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.002377/2.177, allocations: 2.659 MB / 1.197 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005991/2.177, allocations: 311.7 kB / 1.197 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/2.178, allocations: 145 kB / 1.197 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003371/2.178, allocations: 439.6 kB / 1.197 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/2.178, allocations: 40.05 kB / 1.197 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 2.655e-06/2.178, allocations: 0 / 1.197 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.0009258/2.179, allocations: 457.5 kB / 1.198 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/2.179, allocations: 135.3 kB / 1.198 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000445/2.179, allocations: 438.9 kB / 1.198 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/2.179, allocations: 35.33 kB / 1.198 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/2.18, allocations: 279.2 kB / 1.199 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.988e-05/2.18, allocations: 120 kB / 1.199 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/2.18, allocations: 11.12 kB / 1.199 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.473e-05/2.18, allocations: 359 kB / 1.199 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/2.18, allocations: 163.5 kB / 1.199 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/2.18, allocations: 296.1 kB / 1.2 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/2.181, allocations: 211.3 kB / 1.2 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/2.181, allocations: 7.875 kB / 1.2 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008839/2.182, allocations: 0.5906 MB / 1.2 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/2.182, allocations: 7.094 kB / 1.2 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/2.182, allocations: 3.969 kB / 1.2 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/2.183, allocations: 243 kB / 1.201 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/2.183, allocations: 149.1 kB / 1.201 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007474/2.191, allocations: 28.71 MB / 1.229 GB, free: 88.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/2.192, allocations: 81.72 kB / 1.229 GB, free: 88.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/2.192, allocations: 52.14 kB / 1.229 GB, free: 88.35 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.0002264/2.192, allocations: 127 kB / 1.229 GB, free: 88.24 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/2.193, allocations: 56.41 kB / 1.229 GB, free: 88.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/2.195, allocations: 1.02 MB / 1.23 GB, free: 88.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/2.195, allocations: 2.375 kB / 1.23 GB, free: 88.06 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/2.195, allocations: 0 / 1.23 GB, free: 88.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/2.195, allocations: 3.953 kB / 1.23 GB, free: 88.06 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/2.196, allocations: 0.9265 MB / 1.231 GB, free: 87.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/2.196, allocations: 3.812 kB / 1.231 GB, free: 87.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/2.196, allocations: 49.09 kB / 1.231 GB, free: 87.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001395/2.198, allocations: 241.3 kB / 1.231 GB, free: 87.53 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/2.198, allocations: 7.781 kB / 1.231 GB, free: 87.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003666/2.198, allocations: 0.5933 MB / 1.232 GB, free: 86.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/2.198, allocations: 0 / 1.232 GB, free: 86.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/2.199, allocations: 0.5112 MB / 1.232 GB, free: 86.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/2.199, allocations: 150 kB / 1.233 GB, free: 86.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.838e-05/2.199, allocations: 7.938 kB / 1.233 GB, free: 86.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/2.199, allocations: 43.55 kB / 1.233 GB, free: 86.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.193e-05/2.199, allocations: 21.23 kB / 1.233 GB, free: 86.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/2.199, allocations: 21.45 kB / 1.233 GB, free: 86.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004249/2.2, allocations: 377.9 kB / 1.233 GB, free: 86.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/2.2, allocations: 7.781 kB / 1.233 GB, free: 86.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001967/2.202, allocations: 377.2 kB / 1.233 GB, free: 86.15 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.00182/2.204, allocations: 1.077 MB / 1.234 GB, free: 85.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007596/2.204, allocations: 372.8 kB / 1.235 GB, free: 85.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/2.204, allocations: 3.938 kB / 1.235 GB, free: 85.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/2.205, allocations: 129 kB / 1.235 GB, free: 85.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/2.206, allocations: 275.3 kB / 1.235 GB, free: 85.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009222/2.207, allocations: 0.5745 MB / 1.236 GB, free: 85.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/2.207, allocations: 0.8649 MB / 1.237 GB, free: 84.65 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001001/2.208, allocations: 0.5492 MB / 1.237 GB, free: 84.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/2.208, allocations: 83.73 kB / 1.237 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/2.208, allocations: 0 / 1.237 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of Templates: time 0.0329/2.241, allocations: 27.11 MB / 1.264 GB, free: 75.2 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1)