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.001554/0.001554, 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.001114/0.001114, allocations: 192.9 kB / 16.25 MB, free: 6.625 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.403/1.403, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06844/0.06844, allocations: 10.97 MB / 280.4 MB, free: 10.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01725/0.01725, allocations: 4.222 MB / 334.1 MB, free: 29.28 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.001394/0.001394, allocations: 68.38 kB / 396.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2115, allocations: 49.73 MB / 445.9 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening): time 0.3009/0.5125, allocations: 169.3 MB / 0.6008 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00428/0.5168, allocations: 5.176 MB / 0.6058 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004224/0.5172, allocations: 7.688 kB / 0.6058 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000757/0.518, allocations: 252.8 kB / 0.6061 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006813/0.5187, allocations: 447.1 kB / 0.6065 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.521, allocations: 1.063 MB / 0.6076 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.5221, allocations: 1.459 MB / 0.609 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.5225, allocations: 477.8 kB / 0.6094 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004088/0.5229, allocations: 0.5475 MB / 0.61 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007316/0.5236, allocations: 0.8744 MB / 0.6108 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.19e-05/0.5237, allocations: 77.12 kB / 0.6109 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.5256, allocations: 1.585 MB / 0.6124 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.5259, allocations: 334.8 kB / 0.6128 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002848/0.5262, allocations: 406.1 kB / 0.6131 GB, free: 496 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.5274, allocations: 1.587 MB / 0.6147 GB, free: 332 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.5274, allocations: 0 / 0.6147 GB, free: 332 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5275, allocations: 0 / 0.6147 GB, free: 332 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.5275, allocations: 0 / 0.6147 GB, free: 332 kB / 398.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.004996/0.5325, allocations: 1.837 MB / 0.6165 GB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.5325, allocations: 8.094 kB / 0.6165 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001315/0.5326, allocations: 110.2 kB / 0.6166 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.5328, allocations: 66.12 kB / 0.6167 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.5333, allocations: 0.4894 MB / 0.6171 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.5334, allocations: 52.66 kB / 0.6172 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.5335, allocations: 68.72 kB / 0.6173 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.5358, allocations: 1.376 MB / 0.6186 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.5358, allocations: 2.906 kB / 0.6186 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.763e-05/0.5359, allocations: 25.94 kB / 0.6186 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/0.536, allocations: 31.53 kB / 0.6187 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003284/0.5392, allocations: 1.901 MB / 0.6205 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004784/0.544, allocations: 3.835 MB / 0.6243 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002705/0.5468, allocations: 1.381 MB / 0.6256 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001822/0.5486, allocations: 1.019 MB / 0.6266 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004501/0.5491, allocations: 377.2 kB / 0.627 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.5491, allocations: 44.72 kB / 0.627 GB, free: 10.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 2.194e-06/0.5491, allocations: 0 / 0.627 GB, free: 10.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.005387/0.5545, allocations: 2.699 MB / 0.6296 GB, free: 8.156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.5545, allocations: 85.11 kB / 0.6297 GB, free: 8.055 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.5549, allocations: 381.6 kB / 0.6301 GB, free: 7.672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.012e-05/0.555, allocations: 45.7 kB / 0.6301 GB, free: 7.621 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.5551, allocations: 213.4 kB / 0.6303 GB, free: 7.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.5553, allocations: 309.7 kB / 0.6306 GB, free: 7.109 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/0.5556, allocations: 186.5 kB / 0.6308 GB, free: 6.922 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5558, allocations: 376.5 kB / 0.6312 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.5575, allocations: 0.8583 MB / 0.632 GB, free: 5.695 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/0.5592, allocations: 0.9618 MB / 0.6329 GB, free: 4.715 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003338/0.5626, allocations: 1.777 MB / 0.6347 GB, free: 2.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5626, allocations: 0 / 0.6347 GB, free: 2.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004155/0.5668, allocations: 2.189 MB / 0.6368 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.5668, allocations: 7.938 kB / 0.6368 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5668, allocations: 4 kB / 0.6368 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006452/0.5733, allocations: 1.034 MB / 0.6378 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.5746, allocations: 287.7 kB / 0.6381 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003165/0.5778, allocations: 5.786 MB / 0.6438 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.5789, allocations: 210.8 kB / 0.644 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.5791, allocations: 39.97 kB / 0.644 GB, free: 9.105 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.0003782/0.5795, allocations: 239.8 kB / 0.6442 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.5796, allocations: 59.33 kB / 0.6443 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004771/0.5844, allocations: 2.382 MB / 0.6466 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.5844, allocations: 16 kB / 0.6466 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5844, allocations: 0 / 0.6466 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.5845, allocations: 7.969 kB / 0.6466 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005102/0.5896, allocations: 3.368 MB / 0.6499 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.5896, allocations: 4 kB / 0.6499 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/0.5914, allocations: 415.7 kB / 0.6503 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.5915, allocations: 8 kB / 0.6503 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-05/0.5916, allocations: 39.97 kB / 0.6504 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.5916, allocations: 4 kB / 0.6504 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5916, allocations: 7.938 kB / 0.6504 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005722/0.5973, allocations: 3.33 MB / 0.6536 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.5975, allocations: 156 kB / 0.6538 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.5976, allocations: 35.98 kB / 0.6538 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.5987, allocations: 159.1 kB / 0.654 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.5989, allocations: 90.81 kB / 0.6541 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.599, allocations: 43.98 kB / 0.6541 GB, free: 14.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00025/0.5992, allocations: 283.1 kB / 0.6544 GB, free: 14.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5992, allocations: 4 kB / 0.6544 GB, free: 14.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009112/0.6001, allocations: 359.8 kB / 0.6547 GB, free: 14.13 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.006438/0.6066, allocations: 4.092 MB / 0.6587 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005052/0.6117, allocations: 2.438 MB / 0.6611 GB, free: 7.645 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.6117, allocations: 0 / 0.6611 GB, free: 7.645 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001959/0.6136, allocations: 1.113 MB / 0.6622 GB, free: 6.566 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.615, allocations: 265.1 kB / 0.6624 GB, free: 6.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01635/0.6313, allocations: 11.04 MB / 0.6732 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.6318, allocations: 0.9704 MB / 0.6742 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001112/0.6329, allocations: 346.8 kB / 0.6745 GB, free: 9.801 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000575/0.6335, allocations: 303.3 kB / 0.6748 GB, free: 9.504 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6335, allocations: 0 / 0.6748 GB, free: 9.504 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.099/1.733, allocations: 26.95 MB / 0.7011 GB, free: 14.74 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/1.733, allocations: 269.9 kB / 0.7014 GB, free: 14.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.922/4.655, allocations: 0 / 0.7014 GB, free: 14.36 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_HorizontalOpening_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_HorizontalOpening.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.pipe 2>&1)