Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.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: "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_HorizontalOpening",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_HorizontalOpening",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 193.6 kB / 16.53 MB, free: 6.699 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.408/1.408, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06611/0.06611, allocations: 10.98 MB / 280.7 MB, free: 10.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.02042/0.02042, allocations: 4.247 MB / 334.4 MB, free: 29.11 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: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 67.89 kB / 396.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.221, allocations: 49.73 MB / 446.4 MB, free: 47.88 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening): time 0.3562/0.5772, allocations: 171.6 MB / 0.6035 GB, free: 328 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004713/0.582, allocations: 5.221 MB / 0.6086 GB, free: 224 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000423/0.5824, allocations: 15.41 kB / 0.6086 GB, free: 220 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007428/0.5832, allocations: 292.7 kB / 0.6089 GB, free: 212 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006039/0.5838, allocations: 455.5 kB / 0.6093 GB, free: 180 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002567/0.5864, allocations: 1.164 MB / 0.6105 GB, free: 136 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.5875, allocations: 1.454 MB / 0.6119 GB, free: 136 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004393/0.5879, allocations: 473.4 kB / 0.6124 GB, free: 100 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005254/0.5885, allocations: 0.5503 MB / 0.6129 GB, free: 96 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008575/0.5893, allocations: 0.8332 MB / 0.6137 GB, free: 88 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.5895, allocations: 78.25 kB / 0.6138 GB, free: 88 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.5921, allocations: 1.574 MB / 0.6153 GB, free: 68 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.5924, allocations: 334.4 kB / 0.6156 GB, free: 64 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003981/0.5928, allocations: 409.1 kB / 0.616 GB, free: 0 / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00198/0.5948, allocations: 1.575 MB / 0.6176 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5948, allocations: 2.188 kB / 0.6176 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5948, allocations: 4 kB / 0.6176 GB, free: 15.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.5948, allocations: 0 / 0.6176 GB, free: 15.84 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005939/0.6008, allocations: 1.835 MB / 0.6194 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.6009, allocations: 15.19 kB / 0.6194 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.601, allocations: 102 kB / 0.6195 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.6012, allocations: 67.41 kB / 0.6195 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006898/0.6019, allocations: 0.4893 MB / 0.62 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.602, allocations: 42.62 kB / 0.6201 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.6021, allocations: 67.31 kB / 0.6201 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/0.6047, allocations: 1.38 MB / 0.6215 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.6047, allocations: 8 kB / 0.6215 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.541e-05/0.6049, allocations: 28.28 kB / 0.6215 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.704e-05/0.6049, allocations: 38.8 kB / 0.6215 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003983/0.6089, allocations: 1.896 MB / 0.6234 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006765/0.6157, allocations: 3.832 MB / 0.6271 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003543/0.6193, allocations: 1.39 MB / 0.6285 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002349/0.6216, allocations: 1.018 MB / 0.6295 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005603/0.6222, allocations: 378.8 kB / 0.6298 GB, free: 8.867 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.6224, allocations: 49.09 kB / 0.6299 GB, free: 8.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 2.836e-06/0.6224, allocations: 0 / 0.6299 GB, free: 8.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.006523/0.6289, allocations: 2.696 MB / 0.6325 GB, free: 6.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.6291, allocations: 85.11 kB / 0.6326 GB, free: 6.023 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005237/0.6296, allocations: 381.6 kB / 0.633 GB, free: 5.641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.647e-05/0.6297, allocations: 41.7 kB / 0.633 GB, free: 5.594 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.6299, allocations: 213.4 kB / 0.6332 GB, free: 5.383 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.6301, allocations: 308.7 kB / 0.6335 GB, free: 5.086 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003786/0.6305, allocations: 190.5 kB / 0.6337 GB, free: 4.895 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6307, allocations: 378.6 kB / 0.6341 GB, free: 4.516 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/0.6327, allocations: 0.8602 MB / 0.6349 GB, free: 3.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/0.6348, allocations: 0.9604 MB / 0.6358 GB, free: 2.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004106/0.639, allocations: 1.768 MB / 0.6376 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.639, allocations: 3.094 kB / 0.6376 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00503/0.644, allocations: 2.186 MB / 0.6397 GB, free: 14.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.6441, allocations: 15.47 kB / 0.6397 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.6441, allocations: 0 / 0.6397 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007106/0.6512, allocations: 1.036 MB / 0.6407 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.6527, allocations: 292.3 kB / 0.641 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004197/0.657, allocations: 5.774 MB / 0.6466 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.6583, allocations: 209.4 kB / 0.6468 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/0.6585, allocations: 43.97 kB / 0.6469 GB, free: 7.086 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (horizontalOpening1.buoyancy,horizontalOpening.buoyancy) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * 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): 10 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000532/0.6591, allocations: 234.6 kB / 0.6471 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.6593, allocations: 55.34 kB / 0.6472 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005516/0.6649, allocations: 2.39 MB / 0.6495 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.6649, allocations: 16 kB / 0.6495 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.6649, allocations: 4 kB / 0.6495 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.6649, allocations: 7.969 kB / 0.6495 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00627/0.6712, allocations: 3.358 MB / 0.6528 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.6713, allocations: 4 kB / 0.6528 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/0.6733, allocations: 419.2 kB / 0.6532 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.566e-05/0.6734, allocations: 12 kB / 0.6532 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/0.6736, allocations: 35.98 kB / 0.6532 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.6736, allocations: 7.938 kB / 0.6533 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.6736, allocations: 7.938 kB / 0.6533 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006908/0.6805, allocations: 3.332 MB / 0.6565 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.6808, allocations: 160 kB / 0.6567 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.681, allocations: 24 kB / 0.6567 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.6822, allocations: 162.7 kB / 0.6568 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/0.6825, allocations: 80.95 kB / 0.6569 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.6826, allocations: 51.97 kB / 0.657 GB, free: 12.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003694/0.683, allocations: 279.2 kB / 0.6572 GB, free: 12.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.683, allocations: 0 / 0.6572 GB, free: 12.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001205/0.6842, allocations: 363.8 kB / 0.6576 GB, free: 12.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 10 (horizontalOpening.Vel[1],horizontalOpening.Vel[2],horizontalOpening.Vel[3],horizontalOpening.Vel[4],horizontalOpening.Vel[5],horizontalOpening1.Vel[1],horizontalOpening1.Vel[2],horizontalOpening1.Vel[3],horizontalOpening1.Vel[4],horizontalOpening1.Vel[5]) * Number of discrete variables: 2 (horizontalOpening.buoyancy,horizontalOpening1.buoyancy) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 129 * 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.007754/0.692, allocations: 4.092 MB / 0.6616 GB, free: 8.031 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006265/0.6983, allocations: 2.441 MB / 0.664 GB, free: 5.629 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.6983, allocations: 0 / 0.664 GB, free: 5.629 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002761/0.7011, allocations: 1.11 MB / 0.665 GB, free: 4.555 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.7029, allocations: 257.9 kB / 0.6653 GB, free: 4.316 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/0.7231, allocations: 10.78 MB / 0.6758 GB, free: 9.375 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.7237, allocations: 0.9704 MB / 0.6768 GB, free: 8.379 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001246/0.725, allocations: 357.6 kB / 0.6771 GB, free: 8.047 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006996/0.7257, allocations: 299.3 kB / 0.6774 GB, free: 7.754 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.7257, allocations: 0 / 0.6774 GB, free: 7.754 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.056/0.7817, allocations: 27.14 MB / 0.7039 GB, free: 12.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.77, allocations: 9.562 kB / 0.7039 GB, free: 12.74 MB / 494.1 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_HorizontalOpening.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.pipe 2>&1)