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/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 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 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) 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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 109.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 184.3 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2012/0.2012, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.83 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3698, allocations: 60.83 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2181/0.5879, allocations: 183 MB / 0.6984 GB, free: 4.328 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005761/0.5937, allocations: 3.267 MB / 0.7015 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006901/0.5944, allocations: 15.94 kB / 0.7016 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.5955, allocations: 317.8 kB / 0.7019 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004035/0.5996, allocations: 1.419 MB / 0.7032 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.6017, allocations: 0.7281 MB / 0.704 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002142/0.6039, allocations: 1.548 MB / 0.7055 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008427/0.6048, allocations: 435.4 kB / 0.7059 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.6059, allocations: 0.5956 MB / 0.7065 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007768/0.6067, allocations: 458.1 kB / 0.7069 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.6069, allocations: 52 kB / 0.707 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.6094, allocations: 1.201 MB / 0.7081 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.6097, allocations: 155.5 kB / 0.7083 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004826/0.6101, allocations: 346.4 kB / 0.7086 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.6127, allocations: 1.507 MB / 0.7101 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6127, allocations: 3.938 kB / 0.7101 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6128, allocations: 4 kB / 0.7101 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.773e-05/0.6128, allocations: 0 / 0.7101 GB, free: 8.277 MB / 0.5606 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.002288/0.6151, allocations: 1.077 MB / 0.7111 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.6151, allocations: 8.031 kB / 0.7111 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.6163, allocations: 139.5 kB / 0.7113 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009522/0.6172, allocations: 0.5007 MB / 0.7118 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.6173, allocations: 36.94 kB / 0.7118 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.986e-05/0.6173, allocations: 44 kB / 0.7118 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.6185, allocations: 0.5945 MB / 0.7124 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.6185, allocations: 4 kB / 0.7124 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.739e-05/0.6186, allocations: 16 kB / 0.7124 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.6186, allocations: 12 kB / 0.7125 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009764/0.6196, allocations: 479.6 kB / 0.7129 GB, free: 5.25 MB / 0.5606 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.003125/0.6227, allocations: 2.686 MB / 0.7155 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007993/0.6235, allocations: 345.8 kB / 0.7159 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.6239, allocations: 173.3 kB / 0.716 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004221/0.6243, allocations: 437.8 kB / 0.7164 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.6244, allocations: 42.78 kB / 0.7165 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.6244, allocations: 0 / 0.7165 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001882/0.6263, allocations: 0.7307 MB / 0.7172 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/0.6264, allocations: 136.5 kB / 0.7173 GB, free: 340 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.29/0.9164, allocations: 493.4 kB / 0.7178 GB, free: 191.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.9165, allocations: 32.2 kB / 0.7178 GB, free: 191.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.9167, allocations: 283.9 kB / 0.7181 GB, free: 191 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.9169, allocations: 124.2 kB / 0.7182 GB, free: 191 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.9171, allocations: 104.3 kB / 0.7183 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.238e-05/0.9172, allocations: 362.5 kB / 0.7187 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.9176, allocations: 157.6 kB / 0.7188 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/0.9181, allocations: 277.2 kB / 0.7191 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007487/0.9188, allocations: 436.9 kB / 0.7195 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.9189, allocations: 1.094 kB / 0.7195 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001059/0.9199, allocations: 0.5548 MB / 0.72 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.9199, allocations: 11.31 kB / 0.7201 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.92, allocations: 3.672 kB / 0.7201 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/0.9216, allocations: 236.8 kB / 0.7203 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.922, allocations: 107.5 kB / 0.7204 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003582/0.9224, allocations: 0.5883 MB / 0.721 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.9227, allocations: 54.7 kB / 0.721 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.719e-05/0.9228, allocations: 44.56 kB / 0.7211 GB, free: 189.3 MB / 0.5606 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002174/0.9231, allocations: 187.7 kB / 0.7212 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.9232, allocations: 61.14 kB / 0.7213 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.9251, allocations: 1.099 MB / 0.7224 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.9251, allocations: 1.875 kB / 0.7224 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.9252, allocations: 0 / 0.7224 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.444e-05/0.9253, allocations: 133.4 kB / 0.7225 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-05/0.9254, allocations: 9.891 kB / 0.7225 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.9257, allocations: 19.92 kB / 0.7225 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.9257, allocations: 23.19 kB / 0.7225 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008557/0.9266, allocations: 453.8 kB / 0.723 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000956/0.9276, allocations: 0.682 MB / 0.7236 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000269/0.9278, allocations: 141.1 kB / 0.7238 GB, free: 188 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004366/0.9283, allocations: 393.6 kB / 0.7242 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of Backend: time 5.11e-07/0.9283, allocations: 0 / 0.7242 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002076/0.9304, allocations: 0.7017 MB / 0.7248 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002382/0.9328, allocations: 1.639 MB / 0.7264 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.02348/0.9563, allocations: 16.57 MB / 0.7426 GB, free: 176.9 MB / 0.5606 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)