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.001248/0.001248, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001387, allocations: 196.8 kB / 16.53 MB, free: 6.672 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.517/1.517, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06562/0.06562, allocations: 10.99 MB / 280.7 MB, free: 10.22 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01741/0.01741, allocations: 4.245 MB / 334.4 MB, free: 29.11 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.001304/0.001304, allocations: 67.89 kB / 396.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2865, allocations: 49.72 MB / 446.4 MB, free: 47.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_ControlledVolumeFlowPump): time 0.3675/0.654, allocations: 141.6 MB / 0.5742 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003294/0.6574, allocations: 3.551 MB / 0.5777 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.6576, allocations: 3.219 kB / 0.5777 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005341/0.6582, allocations: 119 kB / 0.5778 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006824/0.6589, allocations: 297.6 kB / 0.5781 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.6602, allocations: 0.6082 MB / 0.5787 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.6607, allocations: 0.5466 MB / 0.5792 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002809/0.661, allocations: 195.4 kB / 0.5794 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.6613, allocations: 241.7 kB / 0.5797 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.6616, allocations: 219.6 kB / 0.5799 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.6616, allocations: 22.19 kB / 0.5799 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008176/0.6624, allocations: 0.5305 MB / 0.5804 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.953e-05/0.6625, allocations: 56.62 kB / 0.5805 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.6627, allocations: 116.6 kB / 0.5806 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006814/0.6634, allocations: 0.5426 MB / 0.5811 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.6634, allocations: 4 kB / 0.5811 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.6634, allocations: 0 / 0.5811 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.6634, allocations: 2.094 kB / 0.5811 GB, free: 0.6875 MB / 398.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.000946/0.6644, allocations: 0.5562 MB / 0.5817 GB, free: 16.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.6644, allocations: 9.438 kB / 0.5817 GB, free: 16.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.243e-05/0.6645, allocations: 54.03 kB / 0.5817 GB, free: 16.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.6647, allocations: 26.78 kB / 0.5817 GB, free: 16.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.6649, allocations: 253 kB / 0.582 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.665, allocations: 15.53 kB / 0.582 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.665, allocations: 17.31 kB / 0.582 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005001/0.6655, allocations: 248.4 kB / 0.5823 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.6656, allocations: 0.5938 kB / 0.5823 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.6656, allocations: 8.969 kB / 0.5823 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.6656, allocations: 4.5 kB / 0.5823 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004643/0.6661, allocations: 184.5 kB / 0.5824 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.6672, allocations: 0.984 MB / 0.5834 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.6676, allocations: 187.4 kB / 0.5836 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.6679, allocations: 96.66 kB / 0.5837 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/0.6684, allocations: 0.6593 MB / 0.5843 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.6685, allocations: 38.91 kB / 0.5844 GB, free: 14.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.573e-06/0.6685, allocations: 0 / 0.5844 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001239/0.6697, allocations: 427.9 kB / 0.5848 GB, free: 14.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.6698, allocations: 80.3 kB / 0.5848 GB, free: 14.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.6699, allocations: 172.1 kB / 0.585 GB, free: 14.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.67, allocations: 29.58 kB / 0.585 GB, free: 14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.67, allocations: 133.9 kB / 0.5852 GB, free: 13.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.6701, allocations: 59.08 kB / 0.5852 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.6702, allocations: 45.72 kB / 0.5853 GB, free: 13.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6703, allocations: 328.1 kB / 0.5856 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.6704, allocations: 58.17 kB / 0.5856 GB, free: 13.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.6706, allocations: 99.52 kB / 0.5857 GB, free: 13.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.6709, allocations: 170 kB / 0.5859 GB, free: 13.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6709, allocations: 3.156 kB / 0.5859 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004562/0.6713, allocations: 243.2 kB / 0.5861 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.6714, allocations: 6.875 kB / 0.5861 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6714, allocations: 2.438 kB / 0.5861 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002004/0.6734, allocations: 277.3 kB / 0.5864 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.6736, allocations: 36.56 kB / 0.5864 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006114/0.6742, allocations: 0.6131 MB / 0.587 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.6743, allocations: 17.19 kB / 0.587 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.6744, allocations: 9.562 kB / 0.587 GB, free: 12.85 MB / 414.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.0001414/0.6745, allocations: 141 kB / 0.5872 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.627e-05/0.6746, allocations: 15.94 kB / 0.5872 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007829/0.6754, allocations: 281.5 kB / 0.5875 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.6754, allocations: 1.594 kB / 0.5875 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.6754, allocations: 0.8125 kB / 0.5875 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.6754, allocations: 3 kB / 0.5875 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.677, allocations: 1.156 MB / 0.5886 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.677, allocations: 1.875 kB / 0.5886 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.6771, allocations: 34.98 kB / 0.5886 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00199/0.6791, allocations: 275.9 kB / 0.5889 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.6792, allocations: 8.188 kB / 0.5889 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005405/0.6797, allocations: 0.598 MB / 0.5895 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.6797, allocations: 2.125 kB / 0.5895 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006345/0.6804, allocations: 371.1 kB / 0.5898 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.6805, allocations: 99.2 kB / 0.5899 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.6805, allocations: 15.62 kB / 0.59 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.6807, allocations: 4.281 kB / 0.59 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.6808, allocations: 24.64 kB / 0.59 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.6808, allocations: 11.14 kB / 0.59 GB, free: 10.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.6809, allocations: 152.6 kB / 0.5901 GB, free: 10.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6809, allocations: 0 / 0.5901 GB, free: 10.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005461/0.6815, allocations: 122.3 kB / 0.5903 GB, free: 10.83 MB / 414.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.001426/0.6829, allocations: 1.055 MB / 0.5913 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005305/0.6835, allocations: 171.2 kB / 0.5915 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6835, allocations: 0 / 0.5915 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.6838, allocations: 95.09 kB / 0.5915 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006916/0.6845, allocations: 116.7 kB / 0.5917 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.6876, allocations: 2.44 MB / 0.594 GB, free: 8.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.688, allocations: 0.732 MB / 0.5948 GB, free: 7.848 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002288/0.6883, allocations: 42.48 kB / 0.5948 GB, free: 7.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.991e-05/0.6884, allocations: 56.53 kB / 0.5948 GB, free: 7.824 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.6884, allocations: 0 / 0.5948 GB, free: 7.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.7186, allocations: 8.271 MB / 0.6029 GB, free: 6.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.89, allocations: 19.36 kB / 0.6029 GB, free: 6.594 MB / 414.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)