Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="IDEAS_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.001481/0.001481, allocations: 108 kB / 15.61 MB, free: 152 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.001745/0.001745, allocations: 190.5 kB / 16.53 MB, free: 6.664 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7639/0.7639, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 63.56 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3919, allocations: 80.2 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpsSeries): time 0.05256/0.4445, allocations: 50.72 MB / 0.6297 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02135/0.4659, allocations: 16.1 MB / 0.6454 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002453/0.4684, allocations: 75.56 kB / 0.6455 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002658/0.471, allocations: 1.056 MB / 0.6465 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00553/0.4766, allocations: 2.429 MB / 0.6489 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004023/0.4807, allocations: 1.99 MB / 0.6509 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004592/0.4853, allocations: 4.405 MB / 0.6552 GB, free: 4.602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.4872, allocations: 1.665 MB / 0.6568 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/0.4903, allocations: 1.799 MB / 0.6585 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.4917, allocations: 1.35 MB / 0.6599 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002627/0.492, allocations: 188 kB / 0.66 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.4947, allocations: 1.56 MB / 0.6616 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005056/0.4952, allocations: 0.5997 MB / 0.6621 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009035/0.4961, allocations: 1.038 MB / 0.6632 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003547/0.4997, allocations: 3.377 MB / 0.6665 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4997, allocations: 0 / 0.6665 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4997, allocations: 0 / 0.6665 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.027e-05/0.4997, allocations: 0 / 0.6665 GB, free: 8.969 MB / 0.4981 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.003693/0.5034, allocations: 2.392 MB / 0.6688 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.5035, allocations: 12.03 kB / 0.6688 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/0.5036, allocations: 152.3 kB / 0.6689 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/0.5066, allocations: 0.5681 MB / 0.6695 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003556/0.5102, allocations: 1.785 MB / 0.6712 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.692e-05/0.5102, allocations: 94.27 kB / 0.6713 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.5104, allocations: 107.9 kB / 0.6714 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.5126, allocations: 1.232 MB / 0.6726 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.5126, allocations: 0 / 0.6726 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.5127, allocations: 44 kB / 0.6727 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/0.5127, allocations: 34 kB / 0.6727 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/0.515, allocations: 0.9524 MB / 0.6736 GB, free: 1.438 MB / 0.4981 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.006852/0.5218, allocations: 5.858 MB / 0.6794 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.5241, allocations: 0.7998 MB / 0.6801 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008067/0.5249, allocations: 362.3 kB / 0.6805 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002741/0.5277, allocations: 2.146 MB / 0.6826 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.5277, allocations: 47.06 kB / 0.6826 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=57): time 2.094e-06/0.5277, allocations: 0 / 0.6826 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=57): time 0.003381/0.5311, allocations: 1.209 MB / 0.6838 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.5312, allocations: 59.97 kB / 0.6839 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.5331, allocations: 1.507 MB / 0.6853 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.874e-05/0.5332, allocations: 41.7 kB / 0.6854 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000603/0.5338, allocations: 0.7796 MB / 0.6861 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.534, allocations: 201 kB / 0.6863 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002996/0.5343, allocations: 210.4 kB / 0.6865 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.5344, allocations: 345.9 kB / 0.6869 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009253/0.5353, allocations: 424.5 kB / 0.6873 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.5365, allocations: 0.7218 MB / 0.688 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/0.5385, allocations: 1.105 MB / 0.6891 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.5385, allocations: 0 / 0.6891 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002777/0.5413, allocations: 1.359 MB / 0.6904 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.5413, allocations: 12.12 kB / 0.6904 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.5413, allocations: 8 kB / 0.6904 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004746/0.5418, allocations: 152.8 kB / 0.6905 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008974/0.5427, allocations: 231.6 kB / 0.6908 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005174/0.5433, allocations: 0.6615 MB / 0.6914 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009072/0.5442, allocations: 115 kB / 0.6915 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.594e-05/0.5443, allocations: 59.97 kB / 0.6916 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001139/0.5454, allocations: 0.6854 MB / 0.6923 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008714/0.5463, allocations: 0.6477 MB / 0.6929 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00149/0.5478, allocations: 0.9801 MB / 0.6938 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.307e-06/0.5478, allocations: 3.938 kB / 0.6938 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=107) (initialization_lambda0): time 0.002462/0.5503, allocations: 1.265 MB / 0.6951 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.5503, allocations: 8 kB / 0.6951 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.5503, allocations: 12 kB / 0.6951 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008396/0.5512, allocations: 204.9 kB / 0.6953 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007426/0.5519, allocations: 215.7 kB / 0.6955 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005242/0.5572, allocations: 3.507 MB / 0.6989 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007527/0.558, allocations: 75.41 kB / 0.699 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-05/0.5581, allocations: 55.97 kB / 0.699 GB, free: 5.957 MB / 0.5294 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.0002139/0.5583, allocations: 232 kB / 0.6993 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.5585, allocations: 161.9 kB / 0.6994 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.561, allocations: 1.201 MB / 0.7006 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.5611, allocations: 12 kB / 0.7006 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.5611, allocations: 0 / 0.7006 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.5611, allocations: 3.984 kB / 0.7006 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003663/0.5648, allocations: 2.396 MB / 0.703 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.5648, allocations: 3.938 kB / 0.703 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000634/0.5654, allocations: 128 kB / 0.7031 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003063/0.5657, allocations: 108.7 kB / 0.7032 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.105e-05/0.5658, allocations: 27.97 kB / 0.7032 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003937/0.5662, allocations: 0.6421 MB / 0.7038 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5662, allocations: 3.938 kB / 0.7038 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002954/0.5692, allocations: 1.58 MB / 0.7054 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.5696, allocations: 338.8 kB / 0.7057 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.5697, allocations: 12 kB / 0.7057 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006914/0.5704, allocations: 43.95 kB / 0.7058 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.5705, allocations: 44.44 kB / 0.7058 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.868e-05/0.5706, allocations: 35.97 kB / 0.7058 GB, free: 14.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001211/0.5718, allocations: 1.028 MB / 0.7068 GB, free: 13.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5718, allocations: 0 / 0.7068 GB, free: 13.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001788/0.5736, allocations: 0.8887 MB / 0.7077 GB, free: 12.91 MB / 0.545 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.004135/0.5778, allocations: 2.58 MB / 0.7102 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003366/0.5811, allocations: 1.704 MB / 0.7119 GB, free: 8.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5811, allocations: 0 / 0.7119 GB, free: 8.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009072/0.5821, allocations: 436.1 kB / 0.7123 GB, free: 8.164 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/0.5847, allocations: 0.7648 MB / 0.7131 GB, free: 7.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/0.6034, allocations: 13.03 MB / 0.7258 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008364/0.6043, allocations: 1.368 MB / 0.7271 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001368/0.6057, allocations: 409.2 kB / 0.7275 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007616/0.6064, allocations: 0.6827 MB / 0.7282 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.6064, allocations: 0 / 0.7282 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.02/1.627, allocations: 48.2 MB / 0.7752 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/14.48, allocations: 18.73 kB / 0.7753 GB, free: 7.473 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_PumpsSeries.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)