Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002268/0.002269, allocations: 191.1 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3407/0.3407, allocations: 37.98 MB / 307.4 MB, free: 10.1 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 64.75 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1281, allocations: 56.47 MB / 431.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4749/0.6031, allocations: 185.6 MB / 0.6023 GB, free: 14.31 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009607/0.6127, allocations: 7.052 MB / 0.6092 GB, free: 7.238 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008307/0.6137, allocations: 15.88 kB / 0.6092 GB, free: 7.223 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.6147, allocations: 302.4 kB / 0.6095 GB, free: 6.926 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007202/0.622, allocations: 2.172 MB / 0.6116 GB, free: 4.758 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.6247, allocations: 0.8686 MB / 0.6125 GB, free: 3.898 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003019/0.6277, allocations: 1.707 MB / 0.6142 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008694/0.6286, allocations: 445.9 kB / 0.6146 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.6312, allocations: 0.8526 MB / 0.6154 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.6322, allocations: 0.5097 MB / 0.6159 GB, free: 400 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.6323, allocations: 56 kB / 0.616 GB, free: 344 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003705/0.636, allocations: 1.427 MB / 0.6174 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.6363, allocations: 183.4 kB / 0.6175 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006461/0.637, allocations: 374.4 kB / 0.6179 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003775/0.6408, allocations: 1.749 MB / 0.6196 GB, free: 12.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.6408, allocations: 4 kB / 0.6196 GB, free: 12.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6408, allocations: 0 / 0.6196 GB, free: 12.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.6408, allocations: 0 / 0.6196 GB, free: 12.6 MB / 494.1 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.002225/0.643, allocations: 1.149 MB / 0.6207 GB, free: 11.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/0.6431, allocations: 11.89 kB / 0.6207 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.6443, allocations: 155.1 kB / 0.6209 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007533/0.6451, allocations: 0.4886 MB / 0.6214 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.6451, allocations: 33 kB / 0.6214 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.308e-05/0.6452, allocations: 44 kB / 0.6214 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.6464, allocations: 0.64 MB / 0.6221 GB, free: 9.953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.6465, allocations: 4 kB / 0.6221 GB, free: 9.949 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/0.6466, allocations: 27.94 kB / 0.6221 GB, free: 9.922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.6466, allocations: 12 kB / 0.6221 GB, free: 9.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009595/0.6475, allocations: 0.4948 MB / 0.6226 GB, free: 9.414 MB / 494.1 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.003693/0.6512, allocations: 2.664 MB / 0.6252 GB, free: 6.562 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/0.6519, allocations: 329 kB / 0.6255 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.6522, allocations: 156.8 kB / 0.6256 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/0.6536, allocations: 1.299 MB / 0.6269 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.6537, allocations: 42.5 kB / 0.627 GB, free: 4.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.713e-06/0.6537, allocations: 0 / 0.627 GB, free: 4.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001619/0.6553, allocations: 0.7053 MB / 0.6276 GB, free: 3.777 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.6554, allocations: 158.2 kB / 0.6278 GB, free: 3.586 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006704/0.6561, allocations: 0.5184 MB / 0.6283 GB, free: 3.055 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/0.6562, allocations: 37.64 kB / 0.6283 GB, free: 3.012 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.6564, allocations: 303.6 kB / 0.6286 GB, free: 2.711 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.6566, allocations: 130.2 kB / 0.6287 GB, free: 2.582 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.6568, allocations: 114.1 kB / 0.6289 GB, free: 2.465 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.657, allocations: 362.8 kB / 0.6292 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.6572, allocations: 145 kB / 0.6293 GB, free: 1.961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004229/0.6577, allocations: 322.9 kB / 0.6297 GB, free: 1.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006415/0.6583, allocations: 474.6 kB / 0.6301 GB, free: 1.043 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6583, allocations: 4 kB / 0.6301 GB, free: 1.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009325/0.6593, allocations: 0.5597 MB / 0.6307 GB, free: 480 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.6593, allocations: 11.94 kB / 0.6307 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.6593, allocations: 4 kB / 0.6307 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/0.6608, allocations: 245.1 kB / 0.6309 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.6612, allocations: 115.8 kB / 0.631 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.254/0.9152, allocations: 0.5852 MB / 0.6316 GB, free: 163.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007307/0.916, allocations: 65.98 kB / 0.6316 GB, free: 163.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.9161, allocations: 51.95 kB / 0.6317 GB, free: 163.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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.0003443/0.9165, allocations: 194.5 kB / 0.6319 GB, free: 163.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.9166, allocations: 59.25 kB / 0.6319 GB, free: 163.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.9181, allocations: 0.74 MB / 0.6327 GB, free: 162.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.9182, allocations: 6.719 kB / 0.6327 GB, free: 162.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.9182, allocations: 0.8125 kB / 0.6327 GB, free: 162.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.9182, allocations: 0 / 0.6327 GB, free: 162.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.9194, allocations: 1.016 MB / 0.6337 GB, free: 162.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.9194, allocations: 3.281 kB / 0.6337 GB, free: 162.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.9196, allocations: 51.75 kB / 0.6337 GB, free: 162.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003076/0.9227, allocations: 443.9 kB / 0.6341 GB, free: 162.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.9227, allocations: 12.69 kB / 0.6341 GB, free: 162.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003168/0.923, allocations: 0.5973 MB / 0.6347 GB, free: 162 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.9231, allocations: 1.031 kB / 0.6347 GB, free: 162 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006964/0.9238, allocations: 0.4995 MB / 0.6352 GB, free: 161.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.9239, allocations: 138.8 kB / 0.6354 GB, free: 161.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.924, allocations: 6.781 kB / 0.6354 GB, free: 161.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.9244, allocations: 41.09 kB / 0.6354 GB, free: 161.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.9244, allocations: 26.5 kB / 0.6354 GB, free: 161.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.9245, allocations: 21.09 kB / 0.6354 GB, free: 161.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004791/0.9249, allocations: 441.8 kB / 0.6359 GB, free: 161.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.925, allocations: 0 / 0.6359 GB, free: 161.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009638/0.9259, allocations: 338.8 kB / 0.6362 GB, free: 161.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009765/0.9269, allocations: 460 kB / 0.6366 GB, free: 161.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000767/0.9277, allocations: 392.7 kB / 0.637 GB, free: 161.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9277, allocations: 3.188 kB / 0.637 GB, free: 161.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.928, allocations: 156.8 kB / 0.6372 GB, free: 161.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.9297, allocations: 397.6 kB / 0.6375 GB, free: 161.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.9309, allocations: 1.125 MB / 0.6386 GB, free: 160.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.9312, allocations: 0.866 MB / 0.6395 GB, free: 159.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008771/0.932, allocations: 225 kB / 0.6397 GB, free: 159.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.9323, allocations: 81.31 kB / 0.6398 GB, free: 159.8 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.9323, allocations: 0 / 0.6398 GB, free: 159.8 MB / 494.1 MB Notification: Performance of Templates: time 0.0298/0.9621, allocations: 17.9 MB / 0.6573 GB, free: 158.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)