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: "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_SimpleOpeningComp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_SimpleOpeningComp",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.005635/0.005635, allocations: 100.5 kB / 15.73 MB, free: 6.445 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.002089/0.002089, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.609/1.609, allocations: 205.1 MB / 222.6 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07044/0.07044, allocations: 10.97 MB / 280.9 MB, free: 10.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.019/0.019, allocations: 4.254 MB / 334.6 MB, free: 29.02 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.001733/0.001733, allocations: 66.52 kB / 447.1 MB, free: 44.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1068, allocations: 49.75 MB / 496.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp): time 0.4515/0.5584, allocations: 162.3 MB / 0.6437 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004011/0.5624, allocations: 3.291 MB / 0.6469 GB, free: 8.785 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.5626, allocations: 6.938 kB / 0.6469 GB, free: 8.781 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005297/0.5632, allocations: 140.3 kB / 0.6471 GB, free: 8.684 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.5635, allocations: 220 kB / 0.6473 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.5659, allocations: 0.7069 MB / 0.648 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006516/0.5665, allocations: 500 kB / 0.6484 GB, free: 7.879 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.5668, allocations: 165.6 kB / 0.6486 GB, free: 7.777 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.5671, allocations: 203.4 kB / 0.6488 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004559/0.5676, allocations: 295.6 kB / 0.6491 GB, free: 7.555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.5677, allocations: 29.06 kB / 0.6491 GB, free: 7.551 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.5699, allocations: 1.129 MB / 0.6502 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.57, allocations: 100.5 kB / 0.6503 GB, free: 6.957 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.5702, allocations: 145.4 kB / 0.6504 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.5715, allocations: 0.7653 MB / 0.6512 GB, free: 6.441 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5715, allocations: 11.88 kB / 0.6512 GB, free: 6.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5715, allocations: 0 / 0.6512 GB, free: 6.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.5715, allocations: 2.812 kB / 0.6512 GB, free: 6.43 MB / 430.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.001934/0.5735, allocations: 0.7227 MB / 0.6519 GB, free: 5.824 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/0.5736, allocations: 10.09 kB / 0.6519 GB, free: 5.824 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.896e-05/0.5737, allocations: 62.27 kB / 0.652 GB, free: 5.766 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.035e-05/0.5738, allocations: 31.34 kB / 0.652 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.5741, allocations: 274.9 kB / 0.6523 GB, free: 5.473 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.5741, allocations: 19.41 kB / 0.6523 GB, free: 5.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.5742, allocations: 28.12 kB / 0.6523 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007246/0.5749, allocations: 359.1 kB / 0.6526 GB, free: 5.219 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.575, allocations: 0 / 0.6526 GB, free: 5.219 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.575, allocations: 9.969 kB / 0.6527 GB, free: 5.211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.575, allocations: 5.5 kB / 0.6527 GB, free: 5.211 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008148/0.5758, allocations: 366 kB / 0.653 GB, free: 5.035 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.5775, allocations: 1.194 MB / 0.6542 GB, free: 3.965 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008025/0.5784, allocations: 294.9 kB / 0.6545 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/0.5788, allocations: 158.6 kB / 0.6546 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/0.579, allocations: 183.4 kB / 0.6548 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.579, allocations: 33.28 kB / 0.6548 GB, free: 3.492 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 3.527e-06/0.579, allocations: 4 kB / 0.6548 GB, free: 3.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001369/0.5804, allocations: 473.4 kB / 0.6553 GB, free: 3.242 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.5805, allocations: 55.75 kB / 0.6553 GB, free: 3.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.5808, allocations: 227.2 kB / 0.6555 GB, free: 3.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.5808, allocations: 29.7 kB / 0.6556 GB, free: 2.984 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.581, allocations: 146.2 kB / 0.6557 GB, free: 2.852 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.171e-05/0.5811, allocations: 92.84 kB / 0.6558 GB, free: 2.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.5812, allocations: 47.8 kB / 0.6558 GB, free: 2.734 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.5814, allocations: 339.8 kB / 0.6562 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.5818, allocations: 128.4 kB / 0.6563 GB, free: 2.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.5822, allocations: 165.9 kB / 0.6564 GB, free: 2.234 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007775/0.583, allocations: 301.1 kB / 0.6567 GB, free: 2.066 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.583, allocations: 6.078 kB / 0.6567 GB, free: 2.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009453/0.5839, allocations: 366.6 kB / 0.6571 GB, free: 1.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.584, allocations: 9.031 kB / 0.6571 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.584, allocations: 3.938 kB / 0.6571 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.584, allocations: 2.719 kB / 0.6571 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.5844, allocations: 72 kB / 0.6572 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.5844, allocations: 0 / 0.6572 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.5847, allocations: 42.72 kB / 0.6572 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.5847, allocations: 7.25 kB / 0.6572 GB, free: 1.812 MB / 430.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.000164/0.5849, allocations: 150.7 kB / 0.6574 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.585, allocations: 24.83 kB / 0.6574 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.5861, allocations: 448.8 kB / 0.6578 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5861, allocations: 8.875 kB / 0.6578 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5861, allocations: 0 / 0.6578 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009618/0.5871, allocations: 0.6727 MB / 0.6585 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.5887, allocations: 0.8136 MB / 0.6593 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5887, allocations: 1.812 kB / 0.6593 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.5891, allocations: 74.78 kB / 0.6593 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.5891, allocations: 2.781 kB / 0.6593 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.5892, allocations: 6.094 kB / 0.6594 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.5892, allocations: 6.344 kB / 0.6594 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5892, allocations: 0 / 0.6594 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.5903, allocations: 495.5 kB / 0.6598 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.5905, allocations: 139.6 kB / 0.66 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.5905, allocations: 6.531 kB / 0.66 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.5908, allocations: 22.16 kB / 0.66 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.5909, allocations: 25.59 kB / 0.66 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.5909, allocations: 16.12 kB / 0.66 GB, free: 15.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.5911, allocations: 167.9 kB / 0.6602 GB, free: 15.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5911, allocations: 0 / 0.6602 GB, free: 15.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006595/0.5918, allocations: 140.5 kB / 0.6603 GB, free: 15.5 MB / 446.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.001583/0.5934, allocations: 1.14 MB / 0.6614 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008654/0.5942, allocations: 327.7 kB / 0.6618 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5942, allocations: 0 / 0.6618 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004082/0.5947, allocations: 187.8 kB / 0.6619 GB, free: 13.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007096/0.5954, allocations: 113 kB / 0.662 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006805/0.6022, allocations: 3.142 MB / 0.6651 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.6026, allocations: 0.7638 MB / 0.6659 GB, free: 9.688 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003139/0.6029, allocations: 81.98 kB / 0.6659 GB, free: 9.625 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.6031, allocations: 95.39 kB / 0.666 GB, free: 9.531 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6031, allocations: 0 / 0.666 GB, free: 9.531 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.6315, allocations: 9.834 MB / 0.6756 GB, free: 15.78 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.599, allocations: 7.516 kB / 0.6756 GB, free: 15.77 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_SimpleOpeningComp.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp.pipe 2>&1)