Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_ControlledVolumeFlowPump.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.Machines.test_ControlledVolumeFlowPump,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_test_ControlledVolumeFlowPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_ControlledVolumeFlowPump,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_test_ControlledVolumeFlowPump",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.007239/0.007239, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.002199/0.002199, allocations: 189.6 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.556/1.556, allocations: 205.1 MB / 222.6 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06935/0.06935, allocations: 10.98 MB / 280.9 MB, free: 9.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01781/0.01781, allocations: 4.243 MB / 334.6 MB, free: 28.99 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.00154/0.00154, allocations: 62.41 kB / 447.1 MB, free: 44.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1163, allocations: 49.75 MB / 496.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_ControlledVolumeFlowPump): time 0.4914/0.6078, allocations: 141.6 MB / 0.6235 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004051/0.6119, allocations: 3.551 MB / 0.6269 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.6122, allocations: 5.656 kB / 0.627 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005492/0.6128, allocations: 123.9 kB / 0.6271 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007663/0.6136, allocations: 304.1 kB / 0.6274 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.6153, allocations: 0.6137 MB / 0.628 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006425/0.6159, allocations: 0.5487 MB / 0.6285 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.6163, allocations: 193.2 kB / 0.6287 GB, free: 12.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003877/0.6167, allocations: 239.3 kB / 0.6289 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.6171, allocations: 224.3 kB / 0.6291 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.6171, allocations: 20.56 kB / 0.6291 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009726/0.6181, allocations: 0.5287 MB / 0.6297 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.012e-05/0.6182, allocations: 58.98 kB / 0.6297 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.6183, allocations: 120.6 kB / 0.6298 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008491/0.6192, allocations: 0.5528 MB / 0.6304 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6192, allocations: 0 / 0.6304 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6192, allocations: 0 / 0.6304 GB, free: 11.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.474e-05/0.6193, allocations: 0 / 0.6304 GB, free: 11.83 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001093/0.6204, allocations: 0.5636 MB / 0.6309 GB, free: 11.35 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.6204, allocations: 9.969 kB / 0.6309 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.11e-05/0.6205, allocations: 57.44 kB / 0.631 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.6206, allocations: 25.02 kB / 0.631 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.6211, allocations: 249.6 kB / 0.6312 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.6211, allocations: 14.91 kB / 0.6313 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.6212, allocations: 20.59 kB / 0.6313 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.6216, allocations: 245.5 kB / 0.6315 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.6217, allocations: 3.984 kB / 0.6315 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.6217, allocations: 5.781 kB / 0.6315 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.6217, allocations: 9.531 kB / 0.6315 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.6221, allocations: 182.2 kB / 0.6317 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.6236, allocations: 0.9776 MB / 0.6327 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.624, allocations: 182.5 kB / 0.6328 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.6243, allocations: 106.1 kB / 0.6329 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000568/0.6249, allocations: 0.658 MB / 0.6336 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.6249, allocations: 33.84 kB / 0.6336 GB, free: 9.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=19): time 1.262e-06/0.6249, allocations: 0 / 0.6336 GB, free: 9.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001297/0.6262, allocations: 435.2 kB / 0.634 GB, free: 9.023 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.6263, allocations: 83.33 kB / 0.6341 GB, free: 8.926 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.6264, allocations: 162.5 kB / 0.6343 GB, free: 8.805 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.6265, allocations: 32.95 kB / 0.6343 GB, free: 8.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/0.6266, allocations: 135.9 kB / 0.6344 GB, free: 8.656 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.6266, allocations: 63.81 kB / 0.6345 GB, free: 8.609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.6267, allocations: 40.89 kB / 0.6345 GB, free: 8.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6268, allocations: 328.2 kB / 0.6348 GB, free: 8.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.627, allocations: 58.56 kB / 0.6349 GB, free: 8.262 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.6271, allocations: 102.1 kB / 0.635 GB, free: 8.207 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.6274, allocations: 162.6 kB / 0.6351 GB, free: 8.164 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6275, allocations: 4.031 kB / 0.6351 GB, free: 8.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004752/0.6279, allocations: 244 kB / 0.6354 GB, free: 8.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.628, allocations: 8.812 kB / 0.6354 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.628, allocations: 0 / 0.6354 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002083/0.6301, allocations: 281.1 kB / 0.6357 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.6302, allocations: 38.92 kB / 0.6357 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006317/0.6309, allocations: 0.6065 MB / 0.6363 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.631, allocations: 20.62 kB / 0.6363 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.631, allocations: 4.844 kB / 0.6363 GB, free: 7.41 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.6312, allocations: 148.2 kB / 0.6365 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.6312, allocations: 15.31 kB / 0.6365 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000577/0.6318, allocations: 280.6 kB / 0.6367 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.6318, allocations: 2.688 kB / 0.6367 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.6318, allocations: 0 / 0.6367 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6318, allocations: 0 / 0.6367 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.6334, allocations: 1.162 MB / 0.6379 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6334, allocations: 0 / 0.6379 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.6336, allocations: 29.98 kB / 0.6379 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/0.6355, allocations: 281.4 kB / 0.6382 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.6355, allocations: 6.375 kB / 0.6382 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000593/0.6361, allocations: 0.6019 MB / 0.6388 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6361, allocations: 2.281 kB / 0.6388 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006355/0.6368, allocations: 372 kB / 0.6391 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.6369, allocations: 103.2 kB / 0.6392 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.6369, allocations: 5.625 kB / 0.6392 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.6371, allocations: 7.969 kB / 0.6392 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.6371, allocations: 21.59 kB / 0.6393 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.6372, allocations: 18.61 kB / 0.6393 GB, free: 5.152 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.6373, allocations: 145.8 kB / 0.6394 GB, free: 5.066 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6373, allocations: 0 / 0.6394 GB, free: 5.066 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004701/0.6378, allocations: 131 kB / 0.6395 GB, free: 5.039 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001458/0.6392, allocations: 1.053 MB / 0.6406 GB, free: 4.211 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005953/0.6398, allocations: 179.2 kB / 0.6407 GB, free: 4.176 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.6399, allocations: 0 / 0.6407 GB, free: 4.176 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.6401, allocations: 91.48 kB / 0.6408 GB, free: 4.156 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007262/0.6409, allocations: 109.2 kB / 0.6409 GB, free: 4.109 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/0.644, allocations: 2.447 MB / 0.6433 GB, free: 2.133 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.6443, allocations: 0.7328 MB / 0.644 GB, free: 1.414 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.6445, allocations: 43.14 kB / 0.6441 GB, free: 1.391 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.325e-05/0.6446, allocations: 55.7 kB / 0.6441 GB, free: 1.348 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.6446, allocations: 0 / 0.6441 GB, free: 1.348 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.6745, allocations: 8.379 MB / 0.6523 GB, free: 12.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.34, allocations: 18.61 kB / 0.6523 GB, free: 12.94 MB / 446.1 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_ControlledVolumeFlowPump.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_ControlledVolumeFlowPump.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_ControlledVolumeFlowPump.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_ControlledVolumeFlowPump.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_ControlledVolumeFlowPump_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_test_ControlledVolumeFlowPump.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_ControlledVolumeFlowPump.pipe 2>&1)