Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp.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/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/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(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp") translateModel(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.001714/0.001714, allocations: 188.7 kB / 17.34 MB, free: 5.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.378/1.378, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07714/0.07714, allocations: 10.98 MB / 281.6 MB, free: 1.016 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.02029/0.02029, allocations: 4.245 MB / 335.3 MB, free: 11.16 MB / 286.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: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 67.91 kB / 448.2 MB, free: 32.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1137, allocations: 49.74 MB / 498 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp): time 0.5051/0.6188, allocations: 162.3 MB / 0.6448 GB, free: 332 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004602/0.6235, allocations: 3.274 MB / 0.648 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.6239, allocations: 4 kB / 0.648 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008234/0.6247, allocations: 151 kB / 0.6482 GB, free: 12.89 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006902/0.6255, allocations: 218.9 kB / 0.6484 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.6281, allocations: 0.7033 MB / 0.6491 GB, free: 11.97 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00088/0.629, allocations: 0.4941 MB / 0.6496 GB, free: 11.48 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000404/0.6294, allocations: 168.8 kB / 0.6497 GB, free: 11.31 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.6299, allocations: 195.3 kB / 0.6499 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006125/0.6305, allocations: 299.1 kB / 0.6502 GB, free: 10.82 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.125e-05/0.6306, allocations: 24 kB / 0.6502 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/0.6332, allocations: 1.127 MB / 0.6513 GB, free: 9.672 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.6334, allocations: 103.7 kB / 0.6514 GB, free: 9.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.6336, allocations: 147.4 kB / 0.6516 GB, free: 9.426 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.6353, allocations: 0.7667 MB / 0.6523 GB, free: 8.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.6353, allocations: 0 / 0.6523 GB, free: 8.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6353, allocations: 0 / 0.6523 GB, free: 8.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.6353, allocations: 0 / 0.6523 GB, free: 8.66 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002225/0.6375, allocations: 0.7181 MB / 0.653 GB, free: 7.895 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.6376, allocations: 8.031 kB / 0.653 GB, free: 7.887 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.6377, allocations: 28.66 kB / 0.653 GB, free: 7.859 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.6381, allocations: 268.5 kB / 0.6533 GB, free: 7.559 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.6381, allocations: 20.94 kB / 0.6533 GB, free: 7.539 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/0.6382, allocations: 20.38 kB / 0.6533 GB, free: 7.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008194/0.639, allocations: 360.1 kB / 0.6537 GB, free: 7.152 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.639, allocations: 3.984 kB / 0.6537 GB, free: 7.148 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.639, allocations: 8 kB / 0.6537 GB, free: 7.141 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.6391, allocations: 8 kB / 0.6537 GB, free: 7.133 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008803/0.6399, allocations: 365.5 kB / 0.6541 GB, free: 6.773 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.6418, allocations: 1.193 MB / 0.6552 GB, free: 5.477 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007997/0.6427, allocations: 298.7 kB / 0.6555 GB, free: 5.176 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.6431, allocations: 160.8 kB / 0.6557 GB, free: 5.016 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/0.6433, allocations: 178.2 kB / 0.6558 GB, free: 4.805 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.6433, allocations: 38.56 kB / 0.6559 GB, free: 4.758 MB / 478.1 MB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.6433, allocations: 3.938 kB / 0.6559 GB, free: 4.754 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.001311/0.6446, allocations: 480.7 kB / 0.6563 GB, free: 4.277 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.6447, allocations: 51.41 kB / 0.6564 GB, free: 4.215 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.645, allocations: 237 kB / 0.6566 GB, free: 3.977 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.6451, allocations: 25.7 kB / 0.6566 GB, free: 3.945 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.6452, allocations: 140.3 kB / 0.6568 GB, free: 3.805 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.398e-05/0.6453, allocations: 78.86 kB / 0.6568 GB, free: 3.727 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.6454, allocations: 53.83 kB / 0.6569 GB, free: 3.668 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6455, allocations: 334.8 kB / 0.6572 GB, free: 3.332 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.6459, allocations: 128.4 kB / 0.6573 GB, free: 3.207 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.6463, allocations: 167.8 kB / 0.6575 GB, free: 3.031 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007451/0.6471, allocations: 304 kB / 0.6578 GB, free: 2.723 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6471, allocations: 0 / 0.6578 GB, free: 2.723 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000917/0.648, allocations: 368.9 kB / 0.6581 GB, free: 2.355 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.648, allocations: 4 kB / 0.6581 GB, free: 2.352 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.648, allocations: 0 / 0.6581 GB, free: 2.352 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.6481, allocations: 11.92 kB / 0.6581 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.6484, allocations: 63.95 kB / 0.6582 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.6485, allocations: 0 / 0.6582 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.6487, allocations: 47.69 kB / 0.6583 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.6488, allocations: 15.98 kB / 0.6583 GB, free: 2.215 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (27): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.6489, allocations: 133.8 kB / 0.6584 GB, free: 2.074 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.649, allocations: 27.66 kB / 0.6584 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.6502, allocations: 462.6 kB / 0.6589 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.6502, allocations: 0 / 0.6589 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6502, allocations: 4 kB / 0.6589 GB, free: 1.598 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009623/0.6512, allocations: 0.6637 MB / 0.6595 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.6526, allocations: 0.8123 MB / 0.6603 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.6526, allocations: 0 / 0.6603 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.653, allocations: 75.83 kB / 0.6604 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.6531, allocations: 4 kB / 0.6604 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.6531, allocations: 4 kB / 0.6604 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.6531, allocations: 8.672 kB / 0.6604 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6531, allocations: 0 / 0.6604 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.6541, allocations: 491.7 kB / 0.6609 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.6543, allocations: 140.6 kB / 0.661 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.6544, allocations: 8 kB / 0.661 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.6547, allocations: 25.28 kB / 0.661 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/0.6548, allocations: 19.98 kB / 0.6611 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.6548, allocations: 11.98 kB / 0.6611 GB, free: 15.17 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000189/0.655, allocations: 172.5 kB / 0.6612 GB, free: 15 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.655, allocations: 0 / 0.6612 GB, free: 15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006056/0.6556, allocations: 139.9 kB / 0.6614 GB, free: 14.87 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005541/0.6562, allocations: 231 kB / 0.6616 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008979/0.6571, allocations: 319.7 kB / 0.6619 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.6571, allocations: 0 / 0.6619 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004458/0.6575, allocations: 188.5 kB / 0.6621 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007443/0.6583, allocations: 121.7 kB / 0.6622 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.6617, allocations: 0.774 MB / 0.6629 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.6621, allocations: 0.7677 MB / 0.6637 GB, free: 12.42 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.6623, allocations: 43.41 kB / 0.6637 GB, free: 12.38 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6623, allocations: 0 / 0.6637 GB, free: 12.38 MB / 494.1 MB Notification: Performance of Templates: time 0.01111/0.6734, allocations: 5.671 MB / 0.6693 GB, free: 6.75 MB / 494.1 MB make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp.makefile (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp.sim & ./TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp -abortSlowSimulation -alarm=480 -lv LOG_STATS > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp.pipe 2>&1)