Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.001352/0.001352, allocations: 99 kB / 15.05 MB, free: 1.105 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.001718/0.001718, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.35/0.35, allocations: 40 MB / 310.4 MB, free: 9.734 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.2. 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.0005325/0.0005326, allocations: 18.97 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1155, allocations: 57.96 MB / 436.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.3801/0.4956, allocations: 145.8 MB / 0.5689 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.5081, allocations: 9.252 MB / 0.5779 GB, free: 8.504 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007019/0.5088, allocations: 15.88 kB / 0.5779 GB, free: 8.488 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009677/0.5098, allocations: 278.6 kB / 0.5782 GB, free: 8.215 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005386/0.5152, allocations: 1.813 MB / 0.58 GB, free: 6.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.5175, allocations: 0.7962 MB / 0.5808 GB, free: 5.625 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001813/0.5193, allocations: 1.008 MB / 0.5817 GB, free: 4.617 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006151/0.5199, allocations: 376 kB / 0.5821 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.5214, allocations: 0.674 MB / 0.5828 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006016/0.522, allocations: 382.6 kB / 0.5831 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.407e-05/0.5221, allocations: 31.94 kB / 0.5832 GB, free: 3.172 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.5247, allocations: 1.24 MB / 0.5844 GB, free: 1.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.5249, allocations: 139.5 kB / 0.5845 GB, free: 1.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.5252, allocations: 161.4 kB / 0.5847 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.5268, allocations: 1.146 MB / 0.5858 GB, free: 496 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5269, allocations: 0 / 0.5858 GB, free: 496 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5269, allocations: 0 / 0.5858 GB, free: 496 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.5269, allocations: 4 kB / 0.5858 GB, free: 492 kB / 446.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.001841/0.5287, allocations: 0.9793 MB / 0.5867 GB, free: 15.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.5288, allocations: 12.03 kB / 0.5867 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.5299, allocations: 159 kB / 0.5869 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007082/0.5307, allocations: 468.8 kB / 0.5873 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.5307, allocations: 33 kB / 0.5874 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.71e-05/0.5308, allocations: 44 kB / 0.5874 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.5319, allocations: 0.6283 MB / 0.588 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.5319, allocations: 3.938 kB / 0.588 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.828e-05/0.532, allocations: 24 kB / 0.5881 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.532, allocations: 19.97 kB / 0.5881 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008685/0.5329, allocations: 495.6 kB / 0.5885 GB, free: 13.5 MB / 462.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.003153/0.5361, allocations: 2.66 MB / 0.5911 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/0.5367, allocations: 314.6 kB / 0.5914 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003887/0.5371, allocations: 335.9 kB / 0.5918 GB, free: 9.961 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.5371, allocations: 38.56 kB / 0.5918 GB, free: 9.914 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.5371, allocations: 0 / 0.5918 GB, free: 9.914 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.001612/0.5388, allocations: 0.6982 MB / 0.5925 GB, free: 9.188 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.5389, allocations: 162.2 kB / 0.5926 GB, free: 8.992 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006427/0.5395, allocations: 0.5145 MB / 0.5931 GB, free: 8.465 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/0.5396, allocations: 37.64 kB / 0.5932 GB, free: 8.422 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.5398, allocations: 295.7 kB / 0.5935 GB, free: 8.129 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.614e-05/0.5399, allocations: 126.1 kB / 0.5936 GB, free: 8.004 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.5399, allocations: 12 kB / 0.5936 GB, free: 7.992 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5401, allocations: 370.7 kB / 0.5939 GB, free: 7.621 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.5404, allocations: 141 kB / 0.5941 GB, free: 7.484 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.5408, allocations: 326.9 kB / 0.5944 GB, free: 7.086 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.5411, allocations: 188.9 kB / 0.5946 GB, free: 6.902 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.5411, allocations: 4 kB / 0.5946 GB, free: 6.898 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009676/0.5421, allocations: 0.5635 MB / 0.5951 GB, free: 6.324 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.5421, allocations: 4 kB / 0.5951 GB, free: 6.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.5422, allocations: 8 kB / 0.5951 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/0.5437, allocations: 293.1 kB / 0.5954 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.544, allocations: 118.6 kB / 0.5955 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004477/0.5445, allocations: 0.5932 MB / 0.5961 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/0.5449, allocations: 75.36 kB / 0.5962 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/0.545, allocations: 51.98 kB / 0.5962 GB, free: 5.168 MB / 462.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 (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 prepare postOptimizeDAE: time 0.0002557/0.5453, allocations: 189.7 kB / 0.5964 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.5454, allocations: 63.34 kB / 0.5965 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.5469, allocations: 0.7473 MB / 0.5972 GB, free: 4.137 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.5469, allocations: 8 kB / 0.5972 GB, free: 4.129 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5469, allocations: 3.953 kB / 0.5972 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.547, allocations: 3.984 kB / 0.5972 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.5483, allocations: 0.9878 MB / 0.5982 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.5483, allocations: 7.953 kB / 0.5982 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.5485, allocations: 51.92 kB / 0.5982 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003141/0.5516, allocations: 0.5316 MB / 0.5988 GB, free: 2.461 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.5517, allocations: 14 kB / 0.5988 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004109/0.5521, allocations: 0.6015 MB / 0.5994 GB, free: 1.824 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5521, allocations: 4 kB / 0.5994 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007568/0.5529, allocations: 0.5653 MB / 0.5999 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.5531, allocations: 156.2 kB / 0.6001 GB, free: 1.008 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.664e-05/0.5532, allocations: 11.98 kB / 0.6001 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.5536, allocations: 23.98 kB / 0.6001 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.5536, allocations: 31.92 kB / 0.6001 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.5537, allocations: 19.98 kB / 0.6001 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004751/0.5542, allocations: 410.8 kB / 0.6005 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5542, allocations: 0 / 0.6005 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001012/0.5552, allocations: 335.7 kB / 0.6009 GB, free: 200 kB / 462.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 (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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/0.5562, allocations: 469.2 kB / 0.6013 GB, free: 15.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007366/0.5569, allocations: 384.2 kB / 0.6017 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.557, allocations: 4 kB / 0.6017 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.5572, allocations: 152.4 kB / 0.6018 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.5588, allocations: 326 kB / 0.6021 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.5602, allocations: 1.116 MB / 0.6032 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.5606, allocations: 0.8792 MB / 0.6041 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008755/0.5615, allocations: 218.8 kB / 0.6043 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.5617, allocations: 83.41 kB / 0.6044 GB, free: 12.54 MB / 478.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5617, allocations: 0 / 0.6044 GB, free: 12.54 MB / 478.1 MB Notification: Performance of Templates: time 0.02596/0.5877, allocations: 15.92 MB / 0.6199 GB, free: 12.65 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) Environment - environmentSimulation: