Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.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.Validation.PumpCurveDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Validation_PumpCurveDerivatives",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.001397/0.001397, allocations: 107.5 kB / 16.41 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.001309/0.001309, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8019/0.8019, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002677, allocations: 64.86 kB / 0.5735 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1681, allocations: 78.86 MB / 0.6506 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.09211/0.2603, allocations: 79.39 MB / 0.7281 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4004/0.6607, allocations: 28.39 MB / 0.7558 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004508/0.6652, allocations: 123.3 kB / 0.7559 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007546/0.6728, allocations: 2.656 MB / 0.7585 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01257/0.6854, allocations: 3.914 MB / 0.7623 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008465/0.6939, allocations: 3.149 MB / 0.7654 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02722/0.7211, allocations: 16.82 MB / 0.7818 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005621/0.7268, allocations: 2.757 MB / 0.7845 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008322/0.7352, allocations: 3.257 MB / 0.7877 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004778/0.74, allocations: 2.504 MB / 0.7902 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001664/0.7417, allocations: 360.4 kB / 0.7905 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006812/0.7485, allocations: 2.344 MB / 0.7928 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002645/0.7512, allocations: 1.802 MB / 0.7945 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00628/0.7575, allocations: 2.673 MB / 0.7972 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01502/0.7725, allocations: 7.948 MB / 0.8049 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.7726, allocations: 2.625 kB / 0.8049 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7726, allocations: 0 / 0.8049 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002528/0.7729, allocations: 4 kB / 0.8049 GB, free: 9.617 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.01507/0.7879, allocations: 5.881 MB / 0.8107 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.788, allocations: 8.594 kB / 0.8107 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004066/0.7884, allocations: 229.1 kB / 0.8109 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009541/0.798, allocations: 1.57 MB / 0.8124 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01862/0.8167, allocations: 8.659 MB / 0.8209 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.8169, allocations: 139.2 kB / 0.821 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004758/0.8174, allocations: 188 kB / 0.8212 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005487/0.8229, allocations: 2.605 MB / 0.8237 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.8229, allocations: 2.438 kB / 0.8237 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.8231, allocations: 68 kB / 0.8238 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.85e-05/0.8232, allocations: 40 kB / 0.8238 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005657/0.8288, allocations: 2.011 MB / 0.8258 GB, free: 6.5 MB / 0.6075 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.01969/0.8485, allocations: 11.85 MB / 0.8374 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006041/0.8546, allocations: 1.799 MB / 0.8391 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002238/0.8569, allocations: 0.8169 MB / 0.8399 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007432/0.8643, allocations: 4.239 MB / 0.8441 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.8644, allocations: 50.39 kB / 0.8441 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.865e-06/0.8644, allocations: 0 / 0.8441 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.008805/0.8732, allocations: 2.862 MB / 0.8469 GB, free: 296 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.8733, allocations: 67.16 kB / 0.847 GB, free: 220 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/0.8842, allocations: 7.188 MB / 0.854 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003603/0.8846, allocations: 49.7 kB / 0.8541 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002173/0.8868, allocations: 2.074 MB / 0.8561 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005056/0.8873, allocations: 322.7 kB / 0.8564 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.8885, allocations: 0.704 MB / 0.8571 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.8886, allocations: 313.1 kB / 0.8574 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003884/0.8925, allocations: 2.043 MB / 0.8594 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00461/0.8971, allocations: 2.932 MB / 0.8622 GB, free: 296 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008095/0.9052, allocations: 4.619 MB / 0.8667 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/0.9053, allocations: 4 kB / 0.8667 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.0115/0.9168, allocations: 5.643 MB / 0.8723 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.9169, allocations: 16 kB / 0.8723 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.754e-05/0.9169, allocations: 20 kB / 0.8723 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008829/0.9178, allocations: 408.6 kB / 0.8727 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00262/0.9204, allocations: 0.5893 MB / 0.8733 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.9215, allocations: 0.9036 MB / 0.8741 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00428/0.9258, allocations: 425.4 kB / 0.8745 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004902/0.9263, allocations: 159.4 kB / 0.8747 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005537/0.9318, allocations: 2.875 MB / 0.8775 GB, free: 476 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004327/0.9362, allocations: 2.698 MB / 0.8801 GB, free: 13.43 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007171/0.9434, allocations: 4.168 MB / 0.8842 GB, free: 8.969 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.566e-05/0.9434, allocations: 4 kB / 0.8842 GB, free: 8.965 MB / 0.67 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01102/0.9545, allocations: 5.227 MB / 0.8893 GB, free: 3.746 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.9545, allocations: 16 kB / 0.8893 GB, free: 3.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-05/0.9546, allocations: 20 kB / 0.8894 GB, free: 3.711 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.9556, allocations: 449 kB / 0.8898 GB, free: 3.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/0.9581, allocations: 0.5694 MB / 0.8903 GB, free: 2.699 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00874/0.9669, allocations: 6.123 MB / 0.8963 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004464/0.9714, allocations: 326.6 kB / 0.8966 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005567/0.972, allocations: 148 kB / 0.8968 GB, free: 11.91 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (281): * Single equations (assignments): 274 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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 prepare postOptimizeDAE: time 0.0006041/0.9726, allocations: 318.3 kB / 0.8971 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001327/0.9739, allocations: 468.8 kB / 0.8975 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00686/0.9808, allocations: 2.512 MB / 0.9 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.9808, allocations: 11.98 kB / 0.9 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9808, allocations: 7.938 kB / 0.9 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.9809, allocations: 3.984 kB / 0.9 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/0.9932, allocations: 5.308 MB / 0.9052 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.9933, allocations: 4.062 kB / 0.9052 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/0.9949, allocations: 275.6 kB / 0.9054 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000409/0.9953, allocations: 160.8 kB / 0.9056 GB, free: 2.812 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.9954, allocations: 39.95 kB / 0.9056 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008126/0.9963, allocations: 0.8099 MB / 0.9064 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9963, allocations: 0 / 0.9064 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009057/1.005, allocations: 3.487 MB / 0.9098 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002285/1.008, allocations: 0.8099 MB / 0.9106 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008635/1.009, allocations: 19.98 kB / 0.9106 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002241/1.011, allocations: 159.9 kB / 0.9108 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/1.011, allocations: 72.78 kB / 0.9109 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.011, allocations: 59.94 kB / 0.9109 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00822/1.019, allocations: 5.052 MB / 0.9159 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of sort global known variables: time 5.91e-07/1.019, allocations: 0 / 0.9159 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.006872/1.026, allocations: 1.96 MB / 0.9178 GB, free: 6.297 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dy.x,dm_flow_dy.x) * 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 (96): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 Backend phase and start with SimCode phase: time 0.01153/1.038, allocations: 4.674 MB / 0.9223 GB, free: 1.629 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01187/1.05, allocations: 5.82 MB / 0.928 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/1.05, allocations: 0 / 0.928 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002564/1.052, allocations: 0.9 MB / 0.9289 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01018/1.063, allocations: 2.412 MB / 0.9313 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08296/1.146, allocations: 44 MB / 0.9742 GB, free: 11.63 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002926/1.148, allocations: 2.671 MB / 0.9768 GB, free: 8.93 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005015/1.154, allocations: 1.228 MB / 0.978 GB, free: 7.695 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003284/1.157, allocations: 2.003 MB / 0.98 GB, free: 5.691 MB / 0.7637 GB Notification: Performance of SimCode: time 6.32e-07/1.157, allocations: 0 / 0.98 GB, free: 5.691 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5544/1.711, allocations: 131.5 MB / 1.108 GB, free: 294.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.93/25.64, allocations: 0 / 1.108 GB, free: 294.7 MB / 0.8262 GB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives_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_Validation_PumpCurveDerivatives.fmu > IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)