Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="IBPSA_latest_IBPSA_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.001155/0.001155, allocations: 105.2 kB / 16.4 MB, free: 6.445 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.001197/0.001197, allocations: 193.2 kB / 17.34 MB, free: 5.711 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.761/0.761, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 70.52 kB / 0.5679 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1657, allocations: 77.93 MB / 0.6441 GB, free: 9.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Examples.PumpsSeries): time 0.05075/0.2165, allocations: 51.46 MB / 0.6943 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02716/0.2437, allocations: 18.16 MB / 0.712 GB, free: 3.688 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003859/0.2476, allocations: 75.56 kB / 0.7121 GB, free: 3.613 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005796/0.2534, allocations: 1.925 MB / 0.714 GB, free: 1.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008565/0.262, allocations: 2.818 MB / 0.7167 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005794/0.2678, allocations: 2.107 MB / 0.7188 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02004/0.2879, allocations: 14.08 MB / 0.7325 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003109/0.291, allocations: 1.736 MB / 0.7342 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005129/0.2962, allocations: 1.981 MB / 0.7362 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002973/0.2992, allocations: 1.506 MB / 0.7376 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000844/0.3001, allocations: 220 kB / 0.7379 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004594/0.3047, allocations: 1.899 MB / 0.7397 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.3062, allocations: 0.8957 MB / 0.7406 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002566/0.3088, allocations: 1.411 MB / 0.742 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009538/0.3183, allocations: 4.562 MB / 0.7464 GB, free: 396 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.3184, allocations: 3.938 kB / 0.7464 GB, free: 392 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.404e-06/0.3184, allocations: 0 / 0.7464 GB, free: 392 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001203/0.3185, allocations: 0 / 0.7464 GB, free: 392 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.3124/0.631, allocations: 3.336 MB / 0.7497 GB, free: 98.01 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.631, allocations: 10.31 kB / 0.7497 GB, free: 98.01 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002618/0.6313, allocations: 151.4 kB / 0.7498 GB, free: 97.97 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005935/0.6372, allocations: 0.9477 MB / 0.7508 GB, free: 97.81 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01848/0.6557, allocations: 8.886 MB / 0.7594 GB, free: 94.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.6559, allocations: 86.09 kB / 0.7595 GB, free: 94.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000403/0.6563, allocations: 118.2 kB / 0.7596 GB, free: 94.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003477/0.6598, allocations: 1.489 MB / 0.7611 GB, free: 93.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.6599, allocations: 0.7812 kB / 0.7611 GB, free: 93.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.66, allocations: 41.38 kB / 0.7611 GB, free: 93.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.842e-05/0.6601, allocations: 37.25 kB / 0.7612 GB, free: 93.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003627/0.6637, allocations: 1.321 MB / 0.7625 GB, free: 93.2 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.01181/0.6756, allocations: 6.967 MB / 0.7693 GB, free: 87.58 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003087/0.6787, allocations: 1.143 MB / 0.7704 GB, free: 86.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.6799, allocations: 0.4915 MB / 0.7709 GB, free: 86.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004349/0.6843, allocations: 2.729 MB / 0.7735 GB, free: 84.42 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.6843, allocations: 46.47 kB / 0.7736 GB, free: 84.37 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.454e-06/0.6843, allocations: 4 kB / 0.7736 GB, free: 84.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.005029/0.6894, allocations: 1.734 MB / 0.7753 GB, free: 83.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.6894, allocations: 57.34 kB / 0.7753 GB, free: 83.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003605/0.693, allocations: 2.634 MB / 0.7779 GB, free: 81.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.6933, allocations: 37.67 kB / 0.7779 GB, free: 81.94 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006442/0.6939, allocations: 1.053 MB / 0.7789 GB, free: 81.03 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/0.6941, allocations: 229.7 kB / 0.7792 GB, free: 80.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005007/0.6946, allocations: 440.2 kB / 0.7796 GB, free: 80.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.6947, allocations: 301.1 kB / 0.7799 GB, free: 80.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.6963, allocations: 1.152 MB / 0.781 GB, free: 79.74 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.6981, allocations: 1.539 MB / 0.7825 GB, free: 78.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003137/0.7013, allocations: 2.466 MB / 0.7849 GB, free: 76.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.7013, allocations: 0.875 kB / 0.7849 GB, free: 76.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.004642/0.7059, allocations: 3.069 MB / 0.7879 GB, free: 73.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.706, allocations: 12.56 kB / 0.7879 GB, free: 73.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.706, allocations: 12 kB / 0.7879 GB, free: 73.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004754/0.7065, allocations: 152.8 kB / 0.7881 GB, free: 73.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.7078, allocations: 359.5 kB / 0.7884 GB, free: 72.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004556/0.7083, allocations: 0.6645 MB / 0.7891 GB, free: 72.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/0.7103, allocations: 214.7 kB / 0.7893 GB, free: 71.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/0.7105, allocations: 99.95 kB / 0.7894 GB, free: 71.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002641/0.7132, allocations: 1.506 MB / 0.7908 GB, free: 70.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001565/0.7148, allocations: 1.35 MB / 0.7922 GB, free: 68.85 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002586/0.7174, allocations: 2.086 MB / 0.7942 GB, free: 66.65 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.721e-06/0.7174, allocations: 7.938 kB / 0.7942 GB, free: 66.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.004374/0.7218, allocations: 2.722 MB / 0.7969 GB, free: 63.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.7218, allocations: 12 kB / 0.7969 GB, free: 63.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.7218, allocations: 8 kB / 0.7969 GB, free: 63.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008419/0.7227, allocations: 212.8 kB / 0.7971 GB, free: 63.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.7239, allocations: 347.5 kB / 0.7974 GB, free: 63.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004608/0.7285, allocations: 3.509 MB / 0.8008 GB, free: 59.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/0.7306, allocations: 179.8 kB / 0.801 GB, free: 59.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.7308, allocations: 87.95 kB / 0.8011 GB, free: 59.38 MB / 0.5762 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 (167): * Single equations (assignments): 162 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.000342/0.7311, allocations: 251.9 kB / 0.8013 GB, free: 59.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/0.7315, allocations: 242.4 kB / 0.8016 GB, free: 58.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/0.7349, allocations: 1.582 MB / 0.8031 GB, free: 57.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.7349, allocations: 11.98 kB / 0.8031 GB, free: 57.28 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.7349, allocations: 0 / 0.8031 GB, free: 57.28 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.7349, allocations: 7.922 kB / 0.8031 GB, free: 57.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005113/0.74, allocations: 3.102 MB / 0.8062 GB, free: 54.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.7401, allocations: 0 / 0.8062 GB, free: 54.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008546/0.7409, allocations: 163.9 kB / 0.8063 GB, free: 53.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002998/0.7412, allocations: 120.7 kB / 0.8064 GB, free: 53.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.206e-05/0.7413, allocations: 31.91 kB / 0.8065 GB, free: 53.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003089/0.7416, allocations: 0.642 MB / 0.8071 GB, free: 53.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7416, allocations: 4.031 kB / 0.8071 GB, free: 53.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004018/0.7457, allocations: 2.15 MB / 0.8092 GB, free: 50.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009376/0.7466, allocations: 447.1 kB / 0.8096 GB, free: 50.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003256/0.7469, allocations: 19.94 kB / 0.8096 GB, free: 50.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.7481, allocations: 71.92 kB / 0.8097 GB, free: 50.37 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.7482, allocations: 52.44 kB / 0.8098 GB, free: 50.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.8e-05/0.7483, allocations: 47.95 kB / 0.8098 GB, free: 50.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002074/0.7504, allocations: 1.752 MB / 0.8115 GB, free: 48.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7504, allocations: 0 / 0.8115 GB, free: 48.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002882/0.7533, allocations: 1.22 MB / 0.8127 GB, free: 47.3 MB / 0.5762 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 (67): * Single equations (assignments): 60 * 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.005508/0.7588, allocations: 3.333 MB / 0.816 GB, free: 43.94 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005566/0.7644, allocations: 3.498 MB / 0.8194 GB, free: 40.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.7644, allocations: 0 / 0.8194 GB, free: 40.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.7657, allocations: 0.5744 MB / 0.8199 GB, free: 39.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005212/0.7709, allocations: 1.154 MB / 0.8211 GB, free: 38.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03128/0.8022, allocations: 19.85 MB / 0.8404 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009756/0.8033, allocations: 1.709 MB / 0.8421 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002379/0.8057, allocations: 0.6822 MB / 0.8428 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.8068, allocations: 0.9913 MB / 0.8438 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of SimCode: time 8.02e-07/0.8069, allocations: 4 kB / 0.8438 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1137/0.9206, allocations: 70.58 MB / 0.9127 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.53/17.45, allocations: 11.11 kB / 0.9127 GB, free: 9.078 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Examples.PumpsSeries.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Movers.Examples.PumpsSeries_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 IBPSA_latest_IBPSA_Fluid_Movers_Examples_PumpsSeries.fmu > IBPSA_latest_IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)