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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001721/0.001722, allocations: 180.5 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.483/1.483, allocations: 221.3 MB / 236 MB, free: 2.984 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.0009052/0.0009052, allocations: 87.86 kB / 287 MB, free: 264 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.242/0.242, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.12e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1429, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.517/1.66, allocations: 493.4 MB / 0.9837 GB, free: 157 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/1.66, allocations: 87.95 kB / 0.9838 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8876/2.548, allocations: 212.7 MB / 1.191 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.595e-06/2.548, allocations: 3.5 kB / 1.191 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.404e-05/2.548, allocations: 15.25 kB / 1.192 GB, free: 122.3 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.002556/2.551, allocations: 0.8555 MB / 1.192 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/2.551, allocations: 10.59 kB / 1.192 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002089/2.551, allocations: 88.88 kB / 1.192 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/2.552, allocations: 135.8 kB / 1.193 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/2.553, allocations: 491.3 kB / 1.193 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/2.553, allocations: 31.03 kB / 1.193 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/2.554, allocations: 40.97 kB / 1.193 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/2.555, allocations: 0.5849 MB / 1.194 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/2.555, allocations: 1.031 kB / 1.194 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/2.555, allocations: 22.41 kB / 1.194 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/2.555, allocations: 15 kB / 1.194 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008379/2.556, allocations: 451.7 kB / 1.194 GB, free: 121.3 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.003133/2.559, allocations: 2.649 MB / 1.197 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006236/2.56, allocations: 315 kB / 1.197 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/2.56, allocations: 145 kB / 1.197 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003957/2.56, allocations: 444.2 kB / 1.198 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/2.56, allocations: 39.5 kB / 1.198 GB, free: 119 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 3.497e-06/2.56, allocations: 0.8438 kB / 1.198 GB, free: 119 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001086/2.561, allocations: 455.8 kB / 1.198 GB, free: 119 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/2.561, allocations: 135.7 kB / 1.198 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005844/2.562, allocations: 440.7 kB / 1.199 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/2.562, allocations: 32.83 kB / 1.199 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/2.562, allocations: 277.8 kB / 1.199 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/2.562, allocations: 121.2 kB / 1.199 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/2.562, allocations: 6.75 kB / 1.199 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001115/2.563, allocations: 363.6 kB / 1.199 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/2.563, allocations: 163.3 kB / 1.2 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/2.563, allocations: 302.2 kB / 1.2 GB, free: 118 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/2.564, allocations: 202.9 kB / 1.2 GB, free: 118 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/2.564, allocations: 3.781 kB / 1.2 GB, free: 118 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001009/2.565, allocations: 0.5985 MB / 1.201 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/2.565, allocations: 7.781 kB / 1.201 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/2.565, allocations: 6.656 kB / 1.201 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/2.566, allocations: 239.7 kB / 1.201 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/2.566, allocations: 150.5 kB / 1.201 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008845/2.575, allocations: 28.71 MB / 1.229 GB, free: 88.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008658/2.576, allocations: 72 kB / 1.229 GB, free: 88.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/2.576, allocations: 49.45 kB / 1.229 GB, free: 88.1 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.0002521/2.577, allocations: 134.1 kB / 1.229 GB, free: 87.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/2.577, allocations: 54.81 kB / 1.229 GB, free: 87.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/2.579, allocations: 1.024 MB / 1.23 GB, free: 87.81 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/2.579, allocations: 3.938 kB / 1.23 GB, free: 87.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/2.579, allocations: 3.953 kB / 1.23 GB, free: 87.81 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/2.579, allocations: 0 / 1.23 GB, free: 87.81 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/2.581, allocations: 0.9168 MB / 1.231 GB, free: 87.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/2.581, allocations: 10.5 kB / 1.231 GB, free: 87.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/2.581, allocations: 56.58 kB / 1.231 GB, free: 87.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001219/2.582, allocations: 233.2 kB / 1.232 GB, free: 87.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/2.582, allocations: 11.44 kB / 1.232 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003543/2.582, allocations: 0.5917 MB / 1.232 GB, free: 86.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/2.582, allocations: 0 / 1.232 GB, free: 86.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006605/2.583, allocations: 0.5089 MB / 1.233 GB, free: 86.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/2.583, allocations: 155.1 kB / 1.233 GB, free: 86.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/2.584, allocations: 10.62 kB / 1.233 GB, free: 86.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/2.584, allocations: 37.66 kB / 1.233 GB, free: 86.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/2.584, allocations: 20.25 kB / 1.233 GB, free: 86.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/2.584, allocations: 20.2 kB / 1.233 GB, free: 86.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004943/2.585, allocations: 379 kB / 1.233 GB, free: 86.03 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/2.585, allocations: 0 / 1.233 GB, free: 86.03 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002186/2.587, allocations: 379.7 kB / 1.234 GB, free: 85.92 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.003535/2.59, allocations: 2.362 MB / 1.236 GB, free: 84.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009135/2.591, allocations: 380.1 kB / 1.236 GB, free: 84.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/2.591, allocations: 3.875 kB / 1.236 GB, free: 84.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002473/2.592, allocations: 123.7 kB / 1.236 GB, free: 84.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/2.593, allocations: 275.5 kB / 1.237 GB, free: 84.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/2.595, allocations: 0.7712 MB / 1.237 GB, free: 83.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/2.596, allocations: 0.8649 MB / 1.238 GB, free: 83.17 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001254/2.597, allocations: 0.5447 MB / 1.239 GB, free: 83.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/2.597, allocations: 220.3 kB / 1.239 GB, free: 83.01 MB / 0.5261 GB Notification: Performance of SimCode: time 9.72e-07/2.597, allocations: 0 / 1.239 GB, free: 83.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06735/2.665, allocations: 35.02 MB / 1.273 GB, free: 65.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002811/2.665, allocations: 245.9 kB / 1.273 GB, free: 65.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.592/6.257, allocations: 1.719 kB / 1.273 GB, free: 65.23 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1)