Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_latest_Buildings_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.001099/0.001099, 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.001178/0.001178, allocations: 194.6 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.44 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2751, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.07542/0.3506, allocations: 79.37 MB / 1.13 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03617/0.3868, allocations: 28.4 MB / 1.158 GB, free: 12.14 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00492/0.3917, allocations: 123.4 kB / 1.158 GB, free: 12.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01924/0.411, allocations: 11.46 MB / 1.169 GB, free: 0.543 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.4215, allocations: 3.766 MB / 1.173 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.007971/0.4295, allocations: 3.086 MB / 1.176 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.02936/0.4588, allocations: 20.14 MB / 1.196 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004326/0.4632, allocations: 2.715 MB / 1.198 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006495/0.4697, allocations: 3.08 MB / 1.201 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003866/0.4736, allocations: 2.517 MB / 1.204 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0009778/0.4746, allocations: 364 kB / 1.204 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006309/0.4809, allocations: 2.937 MB / 1.207 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.00191/0.4828, allocations: 1.799 MB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003585/0.4864, allocations: 2.663 MB / 1.211 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.497, allocations: 8.346 MB / 1.22 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.497, allocations: 4 kB / 1.22 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.497, allocations: 0 / 1.22 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001938/0.4972, allocations: 0 / 1.22 GB, free: 13.01 MB / 0.9825 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.01174/0.509, allocations: 5.928 MB / 1.225 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.5091, allocations: 12.62 kB / 1.225 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002801/0.5093, allocations: 232.2 kB / 1.226 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00837/0.5177, allocations: 1.543 MB / 1.227 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/0.5316, allocations: 8.308 MB / 1.235 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004769/0.5321, allocations: 211.7 kB / 1.235 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/0.5325, allocations: 188 kB / 1.236 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004787/0.5373, allocations: 2.611 MB / 1.238 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.5373, allocations: 7.938 kB / 1.238 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.5375, allocations: 71.94 kB / 1.238 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.5375, allocations: 36 kB / 1.238 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005177/0.5427, allocations: 2.034 MB / 1.24 GB, free: 7.551 MB / 0.9981 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.4701/1.013, allocations: 12.19 MB / 1.252 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004805/1.018, allocations: 1.755 MB / 1.254 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/1.02, allocations: 0.8056 MB / 1.255 GB, free: 178 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006195/1.026, allocations: 4.221 MB / 1.259 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/1.026, allocations: 45.19 kB / 1.259 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.314e-06/1.026, allocations: 0 / 1.259 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.008388/1.034, allocations: 2.824 MB / 1.262 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/1.034, allocations: 60.75 kB / 1.262 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/1.046, allocations: 7.06 MB / 1.269 GB, free: 176 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003529/1.046, allocations: 53.48 kB / 1.269 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001783/1.048, allocations: 2.033 MB / 1.271 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/1.048, allocations: 310.5 kB / 1.271 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001204/1.049, allocations: 0.7525 MB / 1.272 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.79e-05/1.049, allocations: 306.3 kB / 1.272 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003549/1.053, allocations: 2.189 MB / 1.274 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004159/1.057, allocations: 3.093 MB / 1.277 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007163/1.064, allocations: 4.886 MB / 1.282 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/1.064, allocations: 6.406 kB / 1.282 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=432) (initialization): time 0.01039/1.075, allocations: 5.959 MB / 1.288 GB, free: 167 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/1.075, allocations: 20.62 kB / 1.288 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/1.075, allocations: 21.59 kB / 1.288 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008043/1.076, allocations: 413.8 kB / 1.288 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/1.078, allocations: 0.6209 MB / 1.289 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007193/1.079, allocations: 0.9015 MB / 1.29 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003535/1.082, allocations: 427.2 kB / 1.29 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/1.083, allocations: 170.6 kB / 1.29 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004181/1.087, allocations: 3.013 MB / 1.293 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003074/1.09, allocations: 2.864 MB / 1.296 GB, free: 163 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005751/1.096, allocations: 4.458 MB / 1.3 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.207e-05/1.096, allocations: 7.75 kB / 1.3 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=432) (initialization_lambda0): time 0.00852/1.104, allocations: 5.531 MB / 1.306 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.104, allocations: 14.91 kB / 1.306 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/1.104, allocations: 18.44 kB / 1.306 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009497/1.105, allocations: 451.1 kB / 1.306 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/1.107, allocations: 0.6047 MB / 1.307 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006316/1.114, allocations: 6.123 MB / 1.313 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003703/1.117, allocations: 346.1 kB / 1.313 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002427/1.118, allocations: 159.4 kB / 1.313 GB, free: 151 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (305): * Single equations (assignments): 295 * Array equations: 3 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005612/1.118, allocations: 320.5 kB / 1.314 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008701/1.119, allocations: 442.1 kB / 1.314 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005703/1.125, allocations: 2.505 MB / 1.316 GB, free: 147.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/1.125, allocations: 8 kB / 1.316 GB, free: 147.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/1.125, allocations: 0 / 1.316 GB, free: 147.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/1.125, allocations: 7.969 kB / 1.316 GB, free: 147.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008477/1.133, allocations: 5.299 MB / 1.322 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.133, allocations: 0 / 1.322 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/1.135, allocations: 267.8 kB / 1.322 GB, free: 142.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003072/1.135, allocations: 164.1 kB / 1.322 GB, free: 142 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-05/1.135, allocations: 43.95 kB / 1.322 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004176/1.136, allocations: 0.8022 MB / 1.323 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.136, allocations: 3.938 kB / 1.323 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007343/1.143, allocations: 3.443 MB / 1.326 GB, free: 137.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.145, allocations: 0.7953 MB / 1.327 GB, free: 136.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000642/1.145, allocations: 20 kB / 1.327 GB, free: 136.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/1.147, allocations: 147.8 kB / 1.327 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/1.147, allocations: 66.5 kB / 1.327 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/1.148, allocations: 55.95 kB / 1.327 GB, free: 136.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005559/1.153, allocations: 4.931 MB / 1.332 GB, free: 131.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.472e-06/1.153, allocations: 0 / 1.332 GB, free: 131.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006739/1.16, allocations: 2.08 MB / 1.334 GB, free: 129.6 MB / 0.9981 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.009148/1.169, allocations: 4.737 MB / 1.339 GB, free: 124.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.179, allocations: 6.303 MB / 1.345 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.179, allocations: 4 kB / 1.345 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002155/1.182, allocations: 0.8844 MB / 1.346 GB, free: 117.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009487/1.191, allocations: 2.365 MB / 1.348 GB, free: 115.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07219/1.263, allocations: 52.88 MB / 1.4 GB, free: 59.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/1.265, allocations: 2.667 MB / 1.402 GB, free: 56.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005114/1.27, allocations: 1.223 MB / 1.403 GB, free: 55.28 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00238/1.273, allocations: 1.991 MB / 1.405 GB, free: 53.29 MB / 0.9981 GB Notification: Performance of SimCode: time 8.22e-07/1.273, allocations: 0 / 1.405 GB, free: 53.29 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3526/1.625, allocations: 137.7 MB / 1.54 GB, free: 13.02 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/17.63, allocations: 3.938 kB / 1.54 GB, free: 13.02 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)