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.004948/0.004948, allocations: 102.4 kB / 15.73 MB, free: 5.969 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.001151/0.001151, allocations: 197.9 kB / 16.67 MB, free: 5.906 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.498/1.498, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06929/0.06929, allocations: 10.98 MB / 280.9 MB, free: 10.14 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01834/0.01834, allocations: 4.236 MB / 334.6 MB, free: 29.04 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.001449/0.001449, allocations: 71.28 kB / 447.1 MB, free: 44.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0865/0.08796, allocations: 49.74 MB / 496.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening): time 0.4715/0.5595, allocations: 171.6 MB / 0.6528 GB, free: 5.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006685/0.5663, allocations: 5.19 MB / 0.6578 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006188/0.5669, allocations: 11.84 kB / 0.6578 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009944/0.568, allocations: 301.8 kB / 0.6581 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008081/0.5688, allocations: 464.9 kB / 0.6586 GB, free: 332 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.5719, allocations: 1.16 MB / 0.6597 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.5734, allocations: 1.458 MB / 0.6611 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000523/0.5739, allocations: 484.3 kB / 0.6616 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006561/0.5746, allocations: 0.5493 MB / 0.6621 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.5756, allocations: 0.832 MB / 0.6629 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.5757, allocations: 78.38 kB / 0.663 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.5787, allocations: 1.569 MB / 0.6646 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003383/0.5791, allocations: 339.2 kB / 0.6649 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.5795, allocations: 406.3 kB / 0.6653 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.5815, allocations: 1.59 MB / 0.6668 GB, free: 10.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.5815, allocations: 0 / 0.6668 GB, free: 10.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5815, allocations: 0 / 0.6668 GB, free: 10.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.5815, allocations: 0 / 0.6668 GB, free: 10.09 MB / 446.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.005417/0.5869, allocations: 1.833 MB / 0.6686 GB, free: 8.211 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.587, allocations: 8.031 kB / 0.6686 GB, free: 8.203 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001447/0.5871, allocations: 107.5 kB / 0.6687 GB, free: 8.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.5873, allocations: 72.17 kB / 0.6688 GB, free: 8.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007061/0.5881, allocations: 0.4911 MB / 0.6693 GB, free: 7.484 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/0.5881, allocations: 45.88 kB / 0.6693 GB, free: 7.441 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.5883, allocations: 71.78 kB / 0.6694 GB, free: 7.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.5909, allocations: 1.384 MB / 0.6707 GB, free: 5.961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.591, allocations: 3.938 kB / 0.6707 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.974e-05/0.5911, allocations: 24 kB / 0.6708 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.857e-05/0.5911, allocations: 44.17 kB / 0.6708 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003796/0.5949, allocations: 1.898 MB / 0.6727 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005731/0.6007, allocations: 3.825 MB / 0.6764 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002947/0.6036, allocations: 1.389 MB / 0.6777 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/0.6056, allocations: 1.012 MB / 0.6787 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005687/0.6062, allocations: 384.7 kB / 0.6791 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.6062, allocations: 42.94 kB / 0.6791 GB, free: 13.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=88): time 3.887e-06/0.6062, allocations: 0 / 0.6791 GB, free: 13.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.006206/0.6124, allocations: 2.699 MB / 0.6818 GB, free: 10.33 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.6125, allocations: 89.11 kB / 0.6819 GB, free: 10.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004301/0.613, allocations: 377.6 kB / 0.6822 GB, free: 9.852 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.991e-05/0.6131, allocations: 41.7 kB / 0.6823 GB, free: 9.805 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.6132, allocations: 217.4 kB / 0.6825 GB, free: 9.586 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.6135, allocations: 307.5 kB / 0.6828 GB, free: 9.273 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003544/0.6139, allocations: 186.5 kB / 0.6829 GB, free: 9.086 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.6141, allocations: 378.7 kB / 0.6833 GB, free: 8.707 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/0.6159, allocations: 0.8646 MB / 0.6841 GB, free: 7.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.6179, allocations: 0.9584 MB / 0.6851 GB, free: 6.852 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003792/0.6217, allocations: 1.767 MB / 0.6868 GB, free: 5.055 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.6218, allocations: 4 kB / 0.6868 GB, free: 5.051 MB / 462.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004699/0.6265, allocations: 2.185 MB / 0.6889 GB, free: 2.828 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.6265, allocations: 8 kB / 0.689 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.6265, allocations: 0 / 0.689 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006881/0.6334, allocations: 1.034 MB / 0.69 GB, free: 1.754 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.6351, allocations: 295.6 kB / 0.6902 GB, free: 1.465 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00434/0.6394, allocations: 5.774 MB / 0.6959 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.6407, allocations: 203.2 kB / 0.6961 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002293/0.641, allocations: 47.95 kB / 0.6961 GB, free: 11.19 MB / 478.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.0005104/0.6415, allocations: 235 kB / 0.6963 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.6417, allocations: 59.25 kB / 0.6964 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005472/0.6472, allocations: 2.389 MB / 0.6987 GB, free: 8.512 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.6473, allocations: 12 kB / 0.6987 GB, free: 8.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.6473, allocations: 0 / 0.6987 GB, free: 8.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.6473, allocations: 11.97 kB / 0.6988 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00591/0.6532, allocations: 3.364 MB / 0.702 GB, free: 5.051 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6532, allocations: 0 / 0.702 GB, free: 5.051 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001943/0.6552, allocations: 431.4 kB / 0.7025 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.697e-05/0.6552, allocations: 8 kB / 0.7025 GB, free: 4.621 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.6554, allocations: 39.98 kB / 0.7025 GB, free: 4.582 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.6554, allocations: 4 kB / 0.7025 GB, free: 4.578 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.6554, allocations: 3.938 kB / 0.7025 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006449/0.6618, allocations: 3.32 MB / 0.7058 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.6621, allocations: 160 kB / 0.7059 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.6622, allocations: 28 kB / 0.7059 GB, free: 1.027 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.6633, allocations: 159.8 kB / 0.7061 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.6635, allocations: 84.95 kB / 0.7062 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.6637, allocations: 51.97 kB / 0.7062 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002914/0.664, allocations: 275.2 kB / 0.7065 GB, free: 476 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.664, allocations: 0 / 0.7065 GB, free: 476 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009895/0.665, allocations: 355.8 kB / 0.7068 GB, free: 120 kB / 478.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.007536/0.6725, allocations: 4.095 MB / 0.7108 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005123/0.6777, allocations: 2.132 MB / 0.7129 GB, free: 9.855 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.6777, allocations: 0 / 0.7129 GB, free: 9.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002186/0.6799, allocations: 1.107 MB / 0.714 GB, free: 8.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.6814, allocations: 259 kB / 0.7142 GB, free: 8.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01843/0.6998, allocations: 10.65 MB / 0.7246 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006288/0.7005, allocations: 0.9626 MB / 0.7256 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001099/0.7016, allocations: 351 kB / 0.7259 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006688/0.7023, allocations: 299.3 kB / 0.7262 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.7023, allocations: 4 kB / 0.7262 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05809/0.7604, allocations: 27.41 MB / 0.753 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.58, allocations: 5.938 kB / 0.753 GB, free: 0.6328 MB / 0.5137 GB (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)