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.009322/0.009322, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001508/0.001508, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.519/1.519, 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.07257/0.07257, allocations: 10.98 MB / 280.9 MB, free: 10.13 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01828/0.01828, allocations: 4.245 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.001549/0.001549, allocations: 71.39 kB / 447.1 MB, free: 44.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0928/0.09437, allocations: 49.74 MB / 496.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_SimpleOpeningComp): time 0.448/0.5424, allocations: 162.3 MB / 0.6437 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003299/0.5457, allocations: 3.279 MB / 0.6469 GB, free: 8.512 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.5459, allocations: 9.25 kB / 0.6469 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005314/0.5465, allocations: 139.1 kB / 0.6471 GB, free: 8.406 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.5468, allocations: 220.5 kB / 0.6473 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.5487, allocations: 0.7146 MB / 0.648 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.5492, allocations: 494.6 kB / 0.6484 GB, free: 7.598 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.5494, allocations: 170.7 kB / 0.6486 GB, free: 7.492 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.5496, allocations: 194.8 kB / 0.6488 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.55, allocations: 295 kB / 0.6491 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.55, allocations: 22.66 kB / 0.6491 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.5517, allocations: 1.135 MB / 0.6502 GB, free: 6.746 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.5519, allocations: 101.6 kB / 0.6503 GB, free: 6.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.552, allocations: 142.2 kB / 0.6504 GB, free: 6.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009555/0.553, allocations: 0.7635 MB / 0.6512 GB, free: 6.172 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.553, allocations: 0 / 0.6512 GB, free: 6.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.553, allocations: 3.984 kB / 0.6512 GB, free: 6.168 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.553, allocations: 0 / 0.6512 GB, free: 6.168 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.001651/0.5547, allocations: 0.7356 MB / 0.6519 GB, free: 5.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.5547, allocations: 6.906 kB / 0.6519 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.991e-05/0.5548, allocations: 54.48 kB / 0.652 GB, free: 5.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.506e-05/0.5548, allocations: 35.59 kB / 0.652 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.5551, allocations: 267.2 kB / 0.6522 GB, free: 5.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.5551, allocations: 18.5 kB / 0.6523 GB, free: 5.203 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.5552, allocations: 32.91 kB / 0.6523 GB, free: 5.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000672/0.5559, allocations: 362.3 kB / 0.6526 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5559, allocations: 4 kB / 0.6526 GB, free: 4.945 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.5559, allocations: 10.72 kB / 0.6526 GB, free: 4.938 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.5559, allocations: 5.062 kB / 0.6527 GB, free: 4.938 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000807/0.5568, allocations: 357.4 kB / 0.653 GB, free: 4.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.5583, allocations: 1.202 MB / 0.6542 GB, free: 3.695 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007302/0.5591, allocations: 292.4 kB / 0.6544 GB, free: 3.543 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003778/0.5595, allocations: 161.6 kB / 0.6546 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.5596, allocations: 185 kB / 0.6548 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.5597, allocations: 37.48 kB / 0.6548 GB, free: 3.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.5597, allocations: 0 / 0.6548 GB, free: 3.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001281/0.561, allocations: 475.9 kB / 0.6553 GB, free: 2.969 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.561, allocations: 58.25 kB / 0.6553 GB, free: 2.902 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.5613, allocations: 227.5 kB / 0.6555 GB, free: 2.742 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.5613, allocations: 25.7 kB / 0.6556 GB, free: 2.711 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.5614, allocations: 142.5 kB / 0.6557 GB, free: 2.578 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.205e-05/0.5615, allocations: 89.09 kB / 0.6558 GB, free: 2.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.5616, allocations: 51.33 kB / 0.6558 GB, free: 2.461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5617, allocations: 332.1 kB / 0.6562 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.562, allocations: 129.6 kB / 0.6563 GB, free: 2.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.5624, allocations: 168.8 kB / 0.6564 GB, free: 1.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006894/0.5631, allocations: 300.8 kB / 0.6567 GB, free: 1.797 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5631, allocations: 1.781 kB / 0.6567 GB, free: 1.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008438/0.564, allocations: 370.8 kB / 0.6571 GB, free: 1.598 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.564, allocations: 8.5 kB / 0.6571 GB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.564, allocations: 3.938 kB / 0.6571 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.564, allocations: 2.5 kB / 0.6571 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.5644, allocations: 70.06 kB / 0.6572 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5644, allocations: 6.594 kB / 0.6572 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.5647, allocations: 38.7 kB / 0.6572 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.5647, allocations: 11.77 kB / 0.6572 GB, free: 1.539 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.0001483/0.5649, allocations: 142.1 kB / 0.6573 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.5649, allocations: 23.86 kB / 0.6574 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.566, allocations: 453.3 kB / 0.6578 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.566, allocations: 14.41 kB / 0.6578 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.566, allocations: 2.75 kB / 0.6578 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008871/0.5669, allocations: 0.6642 MB / 0.6585 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.5683, allocations: 0.8113 MB / 0.6593 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5683, allocations: 0 / 0.6593 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.5686, allocations: 70.11 kB / 0.6593 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.5687, allocations: 2.625 kB / 0.6593 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.5687, allocations: 12.64 kB / 0.6593 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.5687, allocations: 3.938 kB / 0.6593 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5687, allocations: 6.75 kB / 0.6594 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000859/0.5696, allocations: 486.4 kB / 0.6598 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.5697, allocations: 143.2 kB / 0.66 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.5698, allocations: 10.47 kB / 0.66 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.5701, allocations: 22.34 kB / 0.66 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.5701, allocations: 22.03 kB / 0.66 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.5702, allocations: 7.281 kB / 0.66 GB, free: 15.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.5703, allocations: 172.6 kB / 0.6602 GB, free: 15.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5703, allocations: 0 / 0.6602 GB, free: 15.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004856/0.5708, allocations: 138.9 kB / 0.6603 GB, free: 15.26 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.001447/0.5723, allocations: 1.158 MB / 0.6614 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008492/0.5731, allocations: 323.7 kB / 0.6617 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5731, allocations: 4.188 kB / 0.6618 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004126/0.5736, allocations: 183.8 kB / 0.6619 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007375/0.5743, allocations: 119.8 kB / 0.662 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006555/0.5809, allocations: 3.131 MB / 0.6651 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.5812, allocations: 0.7677 MB / 0.6658 GB, free: 9.465 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003202/0.5816, allocations: 76.45 kB / 0.6659 GB, free: 9.402 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.5818, allocations: 95.39 kB / 0.666 GB, free: 9.309 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5818, allocations: 0 / 0.666 GB, free: 9.309 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.6111, allocations: 9.83 MB / 0.6756 GB, free: 15.55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/8.821, allocations: 8.328 kB / 0.6756 GB, free: 15.55 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)