Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpsSeries",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.007549/0.007549, allocations: 97.75 kB / 15.73 MB, free: 5.996 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.001861/0.001861, allocations: 186.7 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9808/0.9808, allocations: 135.6 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 63.89 kB / 0.5857 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4154, allocations: 81.02 MB / 0.6648 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpsSeries): time 0.05638/0.4718, allocations: 50.73 MB / 0.7144 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02581/0.4977, allocations: 16.09 MB / 0.7301 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003943/0.5016, allocations: 71.62 kB / 0.7302 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004292/0.506, allocations: 1.071 MB / 0.7312 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008863/0.5149, allocations: 2.425 MB / 0.7336 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005937/0.5209, allocations: 2.003 MB / 0.7355 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007704/0.5286, allocations: 4.41 MB / 0.7398 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003126/0.5317, allocations: 1.661 MB / 0.7415 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005361/0.5371, allocations: 1.811 MB / 0.7432 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002964/0.5401, allocations: 1.35 MB / 0.7446 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006568/0.5408, allocations: 188 kB / 0.7447 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003988/0.5448, allocations: 1.568 MB / 0.7463 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009459/0.5458, allocations: 0.5958 MB / 0.7468 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.5475, allocations: 1.038 MB / 0.7479 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006428/0.5539, allocations: 3.435 MB / 0.7512 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5539, allocations: 0 / 0.7512 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.235e-06/0.554, allocations: 0 / 0.7512 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.538e-05/0.554, allocations: 0 / 0.7512 GB, free: 8.223 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004816/0.5588, allocations: 2.464 MB / 0.7536 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.5589, allocations: 12.03 kB / 0.7536 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002182/0.5591, allocations: 152.4 kB / 0.7538 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003018/0.5621, allocations: 0.5732 MB / 0.7543 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004512/0.5667, allocations: 1.856 MB / 0.7561 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.5668, allocations: 82 kB / 0.7562 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/0.567, allocations: 115.9 kB / 0.7563 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.5697, allocations: 1.24 MB / 0.7575 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.5698, allocations: 7.922 kB / 0.7576 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.5699, allocations: 43.94 kB / 0.7576 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.205e-05/0.57, allocations: 38 kB / 0.7576 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002457/0.5724, allocations: 0.9524 MB / 0.7586 GB, free: 0.5312 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00899/0.5814, allocations: 5.816 MB / 0.7642 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.5836, allocations: 0.8072 MB / 0.765 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008442/0.5845, allocations: 350.4 kB / 0.7654 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003631/0.5881, allocations: 2.153 MB / 0.7675 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.5882, allocations: 39.12 kB / 0.7675 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.655e-06/0.5882, allocations: 0 / 0.7675 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.003628/0.5918, allocations: 1.222 MB / 0.7687 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.5919, allocations: 63.91 kB / 0.7688 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/0.5942, allocations: 1.503 MB / 0.7702 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.02e-05/0.5943, allocations: 41.7 kB / 0.7703 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007502/0.595, allocations: 0.7925 MB / 0.771 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.5953, allocations: 222.2 kB / 0.7713 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000337/0.5956, allocations: 218.4 kB / 0.7715 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5958, allocations: 345.9 kB / 0.7718 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009536/0.5968, allocations: 420.6 kB / 0.7722 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.598, allocations: 0.7101 MB / 0.7729 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.6002, allocations: 1.101 MB / 0.774 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.6002, allocations: 4 kB / 0.774 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003012/0.6032, allocations: 1.375 MB / 0.7753 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.6032, allocations: 8 kB / 0.7753 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.6032, allocations: 12 kB / 0.7753 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004991/0.6037, allocations: 149.4 kB / 0.7755 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009074/0.6047, allocations: 227.6 kB / 0.7757 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006239/0.6053, allocations: 0.6655 MB / 0.7763 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.6063, allocations: 115.3 kB / 0.7764 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.6065, allocations: 59.97 kB / 0.7765 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001311/0.6078, allocations: 0.6782 MB / 0.7772 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00102/0.6088, allocations: 0.6554 MB / 0.7778 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001741/0.6106, allocations: 0.9799 MB / 0.7788 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.52e-06/0.6106, allocations: 8 kB / 0.7788 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=107) (initialization_lambda0): time 0.002827/0.6134, allocations: 1.261 MB / 0.78 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.6134, allocations: 12 kB / 0.78 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.6135, allocations: 8.688 kB / 0.78 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009134/0.6144, allocations: 204.7 kB / 0.7802 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007976/0.6152, allocations: 223.6 kB / 0.7804 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005937/0.6211, allocations: 3.5 MB / 0.7839 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.6223, allocations: 83.59 kB / 0.7839 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.6224, allocations: 55.92 kB / 0.784 GB, free: 5.039 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (100): * Single equations (assignments): 97 * Array equations: 2 * 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.0003333/0.6227, allocations: 239.8 kB / 0.7842 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003096/0.623, allocations: 174.8 kB / 0.7844 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002914/0.626, allocations: 1.193 MB / 0.7855 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.626, allocations: 12 kB / 0.7856 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.626, allocations: 0 / 0.7856 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.626, allocations: 11.98 kB / 0.7856 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004393/0.6304, allocations: 2.38 MB / 0.7879 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6304, allocations: 0 / 0.7879 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000663/0.6311, allocations: 127.8 kB / 0.788 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003394/0.6315, allocations: 100.8 kB / 0.7881 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.624e-05/0.6315, allocations: 23.98 kB / 0.7881 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005182/0.6321, allocations: 0.6499 MB / 0.7888 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.6321, allocations: 3.938 kB / 0.7888 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/0.6355, allocations: 1.597 MB / 0.7903 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005854/0.6361, allocations: 343.7 kB / 0.7907 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.6362, allocations: 16 kB / 0.7907 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007101/0.637, allocations: 39.95 kB / 0.7907 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.6371, allocations: 48.44 kB / 0.7908 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.512e-05/0.6371, allocations: 35.97 kB / 0.7908 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001586/0.6387, allocations: 1.024 MB / 0.7918 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6387, allocations: 0 / 0.7918 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002425/0.6412, allocations: 0.8963 MB / 0.7927 GB, free: 11.98 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[2]) * 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 (64): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005034/0.6462, allocations: 2.588 MB / 0.7952 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003799/0.65, allocations: 1.653 MB / 0.7968 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6501, allocations: 0.875 kB / 0.7968 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.6511, allocations: 443.2 kB / 0.7972 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003289/0.6544, allocations: 0.7641 MB / 0.798 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/0.6781, allocations: 12.09 MB / 0.8098 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.6792, allocations: 1.364 MB / 0.8111 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001635/0.6809, allocations: 409.2 kB / 0.8115 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009757/0.6819, allocations: 0.6828 MB / 0.8122 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of SimCode: time 8.22e-07/0.6819, allocations: 0 / 0.8122 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.116/0.7979, allocations: 48.49 MB / 0.8595 GB, free: 7.461 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/15.83, allocations: 0 / 0.8595 GB, free: 7.461 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpsSeries.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)