Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.SpeedControlled_y_pumpCurves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",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.001163/0.001163, allocations: 104.7 kB / 16.4 MB, free: 6.461 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.001238/0.001238, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7516/0.7516, allocations: 122.9 MB / 414.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 68.16 kB / 0.5679 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1435, allocations: 77.94 MB / 0.6441 GB, free: 9.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.4793/0.6228, allocations: 106.4 MB / 0.748 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04722/0.6701, allocations: 35.46 MB / 0.7826 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006929/0.6771, allocations: 163.9 kB / 0.7828 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007901/0.685, allocations: 2.949 MB / 0.7856 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01548/0.7005, allocations: 5.792 MB / 0.7913 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01044/0.711, allocations: 4.144 MB / 0.7953 GB, free: 260 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.04567/0.7567, allocations: 32.42 MB / 0.827 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006996/0.7637, allocations: 3.695 MB / 0.8306 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/0.775, allocations: 4.416 MB / 0.8349 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00677/0.7818, allocations: 3.462 MB / 0.8383 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002226/0.7841, allocations: 480 kB / 0.8388 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009865/0.794, allocations: 3.008 MB / 0.8417 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003323/0.7973, allocations: 1.963 MB / 0.8436 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.008268/0.8056, allocations: 3.152 MB / 0.8467 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01762/0.8233, allocations: 9.704 MB / 0.8562 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.8234, allocations: 0 / 0.8562 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8234, allocations: 0 / 0.8562 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002982/0.8237, allocations: 0 / 0.8562 GB, free: 2.781 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 545 * Number of variables: 545 Notification: Performance of Generate backend data structure: time 0.01735/0.841, allocations: 6.829 MB / 0.8628 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.8411, allocations: 8.625 kB / 0.8628 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008719/0.842, allocations: 303.8 kB / 0.8631 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/0.8536, allocations: 1.955 MB / 0.865 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03522/0.8888, allocations: 18.36 MB / 0.883 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/0.8891, allocations: 192.3 kB / 0.8832 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000797/0.8899, allocations: 244 kB / 0.8834 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006942/0.8969, allocations: 3.415 MB / 0.8867 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/0.8969, allocations: 4 kB / 0.8867 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002641/0.8972, allocations: 91.94 kB / 0.8868 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.181e-05/0.8973, allocations: 52 kB / 0.8869 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006476/0.9037, allocations: 2.569 MB / 0.8894 GB, free: 1.004 MB / 0.6544 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.025/0.9288, allocations: 15.31 MB / 0.9043 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006405/0.9352, allocations: 2.402 MB / 0.9067 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002703/0.9379, allocations: 1.05 MB / 0.9077 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/0.9493, allocations: 5.435 MB / 0.913 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/0.9494, allocations: 43.56 kB / 0.913 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=115): time 3.096e-06/0.9494, allocations: 8 kB / 0.913 GB, free: 7.68 MB / 0.6856 GB Notification: Performance of matching and sorting (n=115): time 0.01438/0.9638, allocations: 4.247 MB / 0.9172 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.9639, allocations: 64.39 kB / 0.9173 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01316/0.977, allocations: 5.82 MB / 0.9229 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0006812/0.9778, allocations: 65.64 kB / 0.923 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00232/0.9801, allocations: 2.346 MB / 0.9253 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008103/0.9809, allocations: 443.7 kB / 0.9257 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001513/0.9824, allocations: 0.9111 MB / 0.9266 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.9825, allocations: 309.1 kB / 0.9269 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004758/0.9873, allocations: 2.903 MB / 0.9297 GB, free: 6.52 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005788/0.9931, allocations: 3.781 MB / 0.9334 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/1.003, allocations: 6.166 MB / 0.9395 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/1.003, allocations: 8 kB / 0.9395 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01417/1.017, allocations: 7.843 MB / 0.9471 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/1.017, allocations: 16.97 kB / 0.9471 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/1.018, allocations: 16 kB / 0.9472 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002147/1.02, allocations: 0.9715 MB / 0.9481 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/1.023, allocations: 0.6825 MB / 0.9488 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/1.025, allocations: 2.966 MB / 0.9517 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004421/1.03, allocations: 480.9 kB / 0.9521 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005682/1.03, allocations: 227.9 kB / 0.9523 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006385/1.037, allocations: 3.523 MB / 0.9558 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00533/1.042, allocations: 3.309 MB / 0.959 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008807/1.051, allocations: 5.215 MB / 0.9641 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.132e-05/1.051, allocations: 8 kB / 0.9641 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01617/1.067, allocations: 6.96 MB / 0.9709 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/1.067, allocations: 12 kB / 0.9709 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.876e-05/1.067, allocations: 23.94 kB / 0.9709 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00335/1.071, allocations: 1.081 MB / 0.972 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003014/1.074, allocations: 0.6435 MB / 0.9726 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02283/1.096, allocations: 16.54 MB / 0.9888 GB, free: 7.965 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005594/1.102, allocations: 381.5 kB / 0.9891 GB, free: 7.594 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009093/1.103, allocations: 187.9 kB / 0.9893 GB, free: 7.41 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (339): * Single equations (assignments): 327 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001604/1.105, allocations: 347.9 kB / 0.9897 GB, free: 7.062 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002153/1.107, allocations: 0.5237 MB / 0.9902 GB, free: 6.535 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/1.118, allocations: 3.538 MB / 0.9936 GB, free: 2.973 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.295e-05/1.118, allocations: 12 kB / 0.9936 GB, free: 2.961 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/1.118, allocations: 3.938 kB / 0.9936 GB, free: 2.957 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-05/1.118, allocations: 11.97 kB / 0.9937 GB, free: 2.945 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0186/1.136, allocations: 6.563 MB / 1 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/1.136, allocations: 4 kB / 1 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/1.138, allocations: 315.6 kB / 1 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/1.139, allocations: 455 kB / 1.001 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002565/1.14, allocations: 51.94 kB / 1.001 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/1.142, allocations: 2.81 MB / 1.004 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/1.142, allocations: 8.266 kB / 1.004 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00901/1.151, allocations: 3.3 MB / 1.007 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002796/1.154, allocations: 0.86 MB / 1.008 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001501/1.155, allocations: 20 kB / 1.008 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003676/1.159, allocations: 159.8 kB / 1.008 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/1.159, allocations: 93.12 kB / 1.008 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003075/1.16, allocations: 99.92 kB / 1.008 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.009438/1.169, allocations: 3.855 MB / 1.012 GB, free: 156 kB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/1.169, allocations: 0 / 1.012 GB, free: 156 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01071/1.18, allocations: 2.424 MB / 1.014 GB, free: 13.73 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (121): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01112/1.191, allocations: 4.406 MB / 1.018 GB, free: 9.332 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01695/1.208, allocations: 8.413 MB / 1.027 GB, free: 0.875 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.208, allocations: 0 / 1.027 GB, free: 0.875 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003532/1.212, allocations: 1.216 MB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01327/1.225, allocations: 2.534 MB / 1.03 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4171/1.642, allocations: 46.92 MB / 1.076 GB, free: 321.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003566/1.646, allocations: 2.96 MB / 1.079 GB, free: 320.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005429/1.651, allocations: 1.404 MB / 1.08 GB, free: 320.6 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00332/1.655, allocations: 2.291 MB / 1.083 GB, free: 318.8 MB / 0.8262 GB Notification: Performance of SimCode: time 1.092e-06/1.655, allocations: 3.969 kB / 1.083 GB, free: 318.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1912/1.846, allocations: 149.5 MB / 1.229 GB, free: 186.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.52/26.36, allocations: 6.953 kB / 1.229 GB, free: 186.7 MB / 0.8262 GB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)