Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_10_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.001278/0.001278, 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.001267/0.001267, allocations: 195.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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.461/2.461, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.91 kB / 0.8693 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5793/0.5806, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.07466/0.6553, allocations: 79.35 MB / 1.095 GB, free: 2.883 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03832/0.6937, allocations: 28.4 MB / 1.123 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004643/0.6984, allocations: 123.4 kB / 1.123 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01914/0.7176, allocations: 11.47 MB / 1.134 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.7282, allocations: 3.763 MB / 1.138 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0081/0.7363, allocations: 3.091 MB / 1.141 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.02854/0.7649, allocations: 20.13 MB / 1.16 GB, free: 15.81 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005251/0.7702, allocations: 2.719 MB / 1.163 GB, free: 13.03 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008083/0.7783, allocations: 3.077 MB / 1.166 GB, free: 9.945 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005379/0.7837, allocations: 2.524 MB / 1.168 GB, free: 7.41 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001843/0.7855, allocations: 364 kB / 1.169 GB, free: 7.055 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00741/0.793, allocations: 2.925 MB / 1.172 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002537/0.7955, allocations: 1.796 MB / 1.173 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.005301/0.8008, allocations: 2.674 MB / 1.176 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01282/0.8137, allocations: 8.35 MB / 1.184 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.8137, allocations: 4 kB / 1.184 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8137, allocations: 0 / 1.184 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0002469/0.814, allocations: 4 kB / 1.184 GB, free: 7.254 MB / 0.9356 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.01335/0.8273, allocations: 5.932 MB / 1.19 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.8274, allocations: 8.031 kB / 1.19 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004511/0.8278, allocations: 228.2 kB / 1.19 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009134/0.837, allocations: 1.55 MB / 1.192 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01662/0.8536, allocations: 8.3 MB / 1.2 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005618/0.8542, allocations: 207.8 kB / 1.2 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006562/0.8549, allocations: 188 kB / 1.2 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006631/0.8616, allocations: 2.615 MB / 1.203 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-05/0.8616, allocations: 7.938 kB / 1.203 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003666/0.862, allocations: 67.94 kB / 1.203 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.904e-05/0.8621, allocations: 40 kB / 1.203 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00595/0.868, allocations: 2.03 MB / 1.205 GB, free: 1.805 MB / 0.9512 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.02037/0.8884, allocations: 12.2 MB / 1.217 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005458/0.8939, allocations: 1.75 MB / 1.218 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002478/0.8964, allocations: 0.8119 MB / 1.219 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00905/0.9055, allocations: 4.229 MB / 1.223 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.526e-05/0.9056, allocations: 51.14 kB / 1.223 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.9056, allocations: 0 / 1.223 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.008778/0.9144, allocations: 2.817 MB / 1.226 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.9144, allocations: 60.06 kB / 1.226 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01214/0.9266, allocations: 7.067 MB / 1.233 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002811/0.9269, allocations: 49.7 kB / 1.233 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002186/0.9291, allocations: 2.03 MB / 1.235 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004787/0.9296, allocations: 307.9 kB / 1.235 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/0.931, allocations: 0.7608 MB / 1.236 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.9311, allocations: 301.1 kB / 1.236 GB, free: 456 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003804/0.9349, allocations: 2.189 MB / 1.239 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004417/0.9393, allocations: 3.086 MB / 1.242 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007746/0.9471, allocations: 4.887 MB / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.138e-05/0.9471, allocations: 4 kB / 1.246 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=432) (initialization): time 0.5076/1.455, allocations: 5.969 MB / 1.252 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/1.455, allocations: 15.5 kB / 1.252 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.961e-05/1.455, allocations: 21.09 kB / 1.252 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009749/1.456, allocations: 413.3 kB / 1.253 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/1.459, allocations: 0.6202 MB / 1.253 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008084/1.459, allocations: 0.8976 MB / 1.254 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003553/1.463, allocations: 424.7 kB / 1.255 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003344/1.463, allocations: 169.5 kB / 1.255 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005256/1.469, allocations: 3.007 MB / 1.258 GB, free: 216.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004198/1.473, allocations: 2.865 MB / 1.26 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007444/1.48, allocations: 4.45 MB / 1.265 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.055e-05/1.48, allocations: 7.375 kB / 1.265 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=432) (initialization_lambda0): time 0.01081/1.491, allocations: 5.528 MB / 1.27 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/1.491, allocations: 20.17 kB / 1.27 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.638e-05/1.491, allocations: 21.41 kB / 1.27 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/1.492, allocations: 455.5 kB / 1.271 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002407/1.495, allocations: 0.5991 MB / 1.271 GB, free: 210.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007581/1.502, allocations: 6.129 MB / 1.277 GB, free: 207.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003796/1.506, allocations: 336.5 kB / 1.278 GB, free: 207.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003101/1.506, allocations: 157.2 kB / 1.278 GB, free: 207.2 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.0005946/1.507, allocations: 321.5 kB / 1.278 GB, free: 207 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000766/1.508, allocations: 447.3 kB / 1.278 GB, free: 206.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005948/1.514, allocations: 2.493 MB / 1.281 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/1.514, allocations: 19.69 kB / 1.281 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/1.514, allocations: 0 / 1.281 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/1.514, allocations: 11.16 kB / 1.281 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008666/1.523, allocations: 5.286 MB / 1.286 GB, free: 203.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.523, allocations: 3.531 kB / 1.286 GB, free: 203.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/1.524, allocations: 271.2 kB / 1.286 GB, free: 203.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003262/1.524, allocations: 159.8 kB / 1.286 GB, free: 203.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.379e-05/1.524, allocations: 41.55 kB / 1.287 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004469/1.525, allocations: 0.8046 MB / 1.287 GB, free: 203.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.525, allocations: 3.906 kB / 1.287 GB, free: 203.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007322/1.532, allocations: 3.44 MB / 1.291 GB, free: 201.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/1.534, allocations: 0.7923 MB / 1.291 GB, free: 201.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005278/1.534, allocations: 15.72 kB / 1.291 GB, free: 201.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/1.536, allocations: 149.2 kB / 1.292 GB, free: 201.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.536, allocations: 73.84 kB / 1.292 GB, free: 201.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/1.536, allocations: 56.47 kB / 1.292 GB, free: 201.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005054/1.541, allocations: 4.925 MB / 1.297 GB, free: 198 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.541, allocations: 3.938 kB / 1.297 GB, free: 198 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004845/1.546, allocations: 2.089 MB / 1.299 GB, free: 196 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.00879/1.555, allocations: 4.73 MB / 1.303 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.565, allocations: 6.303 MB / 1.309 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/1.565, allocations: 0.875 kB / 1.309 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002122/1.568, allocations: 0.8842 MB / 1.31 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008154/1.576, allocations: 2.373 MB / 1.313 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06659/1.642, allocations: 52.87 MB / 1.364 GB, free: 125.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/1.644, allocations: 2.663 MB / 1.367 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005339/1.65, allocations: 1.216 MB / 1.368 GB, free: 121.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002353/1.652, allocations: 1.995 MB / 1.37 GB, free: 119.9 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/1.652, allocations: 0 / 1.37 GB, free: 119.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1838/1.836, allocations: 137.7 MB / 1.504 GB, free: 15.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.14/17.98, allocations: 27.52 kB / 1.504 GB, free: 15.8 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)