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.001661/0.001661, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.519/1.519, allocations: 223.2 MB / 241 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009754/0.0009755, allocations: 90.3 kB / 292.1 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4335/0.4335, allocations: 44.21 MB / 387.5 MB, free: 38.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003613, allocations: 12 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4445, allocations: 61.91 MB / 0.5097 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.321/1.766, allocations: 493.5 MB / 0.9916 GB, free: 87.82 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/1.766, allocations: 99.34 kB / 0.9917 GB, free: 87.76 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8465/2.613, allocations: 213.4 MB / 1.2 GB, free: 94.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.794e-06/2.613, allocations: 0 / 1.2 GB, free: 94.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.659e-05/2.613, allocations: 16 kB / 1.2 GB, free: 94.79 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.002246/2.615, allocations: 0.948 MB / 1.201 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/2.615, allocations: 8.562 kB / 1.201 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/2.615, allocations: 86.47 kB / 1.201 GB, free: 93.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009351/2.616, allocations: 143.2 kB / 1.201 GB, free: 93.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007753/2.617, allocations: 488.7 kB / 1.202 GB, free: 93.03 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/2.617, allocations: 36.95 kB / 1.202 GB, free: 93 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.047e-05/2.617, allocations: 40 kB / 1.202 GB, free: 92.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009963/2.618, allocations: 0.6009 MB / 1.202 GB, free: 92.31 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/2.618, allocations: 0 / 1.202 GB, free: 92.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.516e-05/2.618, allocations: 24 kB / 1.202 GB, free: 92.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/2.618, allocations: 12 kB / 1.202 GB, free: 92.28 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008045/2.619, allocations: 499.6 kB / 1.203 GB, free: 91.79 MB / 0.5261 GB 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.002525/2.622, allocations: 2.663 MB / 1.205 GB, free: 88.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006147/2.622, allocations: 336.5 kB / 1.206 GB, free: 88.56 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003769/2.623, allocations: 429.8 kB / 1.206 GB, free: 88.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/2.623, allocations: 42.83 kB / 1.206 GB, free: 88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 3.346e-06/2.623, allocations: 0 / 1.206 GB, free: 88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001557/2.624, allocations: 0.7201 MB / 1.207 GB, free: 87.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/2.625, allocations: 136.5 kB / 1.207 GB, free: 87.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000461/2.625, allocations: 441.2 kB / 1.207 GB, free: 86.65 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.492e-05/2.625, allocations: 33.7 kB / 1.207 GB, free: 86.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/2.625, allocations: 280.1 kB / 1.208 GB, free: 86.33 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.557e-05/2.625, allocations: 118.3 kB / 1.208 GB, free: 86.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/2.625, allocations: 8 kB / 1.208 GB, free: 86.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001138/2.625, allocations: 366.7 kB / 1.208 GB, free: 85.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/2.626, allocations: 189 kB / 1.208 GB, free: 85.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/2.626, allocations: 325.3 kB / 1.209 GB, free: 85.28 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/2.627, allocations: 221.8 kB / 1.209 GB, free: 85.06 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/2.627, allocations: 0 / 1.209 GB, free: 85.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000987/2.628, allocations: 0.643 MB / 1.21 GB, free: 84.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/2.628, allocations: 8 kB / 1.21 GB, free: 84.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/2.628, allocations: 3.938 kB / 1.21 GB, free: 84.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/2.629, allocations: 240.7 kB / 1.21 GB, free: 84.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/2.629, allocations: 147.8 kB / 1.21 GB, free: 84.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008777/2.638, allocations: 28.72 MB / 1.238 GB, free: 53.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009158/2.639, allocations: 71.62 kB / 1.238 GB, free: 53.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/2.639, allocations: 47.98 kB / 1.238 GB, free: 53.23 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 () * Number of clocked 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.0006089/2.64, allocations: 199.8 kB / 1.238 GB, free: 53.03 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/2.64, allocations: 55.34 kB / 1.238 GB, free: 52.97 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/2.642, allocations: 1.056 MB / 1.239 GB, free: 51.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/2.642, allocations: 4 kB / 1.239 GB, free: 51.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/2.642, allocations: 0 / 1.239 GB, free: 51.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/2.642, allocations: 3.984 kB / 1.239 GB, free: 51.89 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/2.644, allocations: 0.9518 MB / 1.24 GB, free: 50.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/2.644, allocations: 4 kB / 1.24 GB, free: 50.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/2.644, allocations: 60.06 kB / 1.24 GB, free: 50.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001275/2.646, allocations: 228.6 kB / 1.241 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/2.646, allocations: 16 kB / 1.241 GB, free: 50.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003824/2.646, allocations: 0.5874 MB / 1.241 GB, free: 49.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.646, allocations: 4.031 kB / 1.241 GB, free: 49.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007644/2.647, allocations: 0.5394 MB / 1.242 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/2.647, allocations: 156.3 kB / 1.242 GB, free: 49.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/2.647, allocations: 8 kB / 1.242 GB, free: 49.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/2.648, allocations: 35.97 kB / 1.242 GB, free: 49.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.222e-05/2.648, allocations: 31.92 kB / 1.242 GB, free: 49.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/2.648, allocations: 15.98 kB / 1.242 GB, free: 49.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004893/2.648, allocations: 386.8 kB / 1.242 GB, free: 48.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.31e-07/2.648, allocations: 0 / 1.242 GB, free: 48.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002315/2.651, allocations: 371.6 kB / 1.243 GB, free: 48.34 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 () * Number of clocked 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.003812/2.654, allocations: 2.399 MB / 1.245 GB, free: 45.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001023/2.655, allocations: 400.5 kB / 1.245 GB, free: 45.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/2.656, allocations: 8 kB / 1.245 GB, free: 45.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/2.656, allocations: 143.8 kB / 1.246 GB, free: 45.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/2.657, allocations: 274 kB / 1.246 GB, free: 45.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/2.661, allocations: 4.256 MB / 1.25 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/2.662, allocations: 0.8671 MB / 1.251 GB, free: 39.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001273/2.663, allocations: 0.5401 MB / 1.251 GB, free: 39.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/2.664, allocations: 227.3 kB / 1.252 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/2.664, allocations: 0 / 1.252 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05875/2.722, allocations: 32.07 MB / 1.283 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/2.723, allocations: 299.9 kB / 1.283 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.434/6.157, allocations: 3.938 kB / 1.283 GB, free: 6.922 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)