Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 108 kB / 15.6 MB, free: 132 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.001952/0.001952, allocations: 193.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.1 MB / 222.4 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.903/1.903, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 69.09 kB / 0.6715 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3051, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.1237/0.4289, allocations: 78.23 MB / 0.8598 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04646/0.4754, allocations: 28.79 MB / 0.8879 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006773/0.4822, allocations: 123.2 kB / 0.888 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.006508/0.4888, allocations: 1.662 MB / 0.8896 GB, free: 332 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01207/0.501, allocations: 3.451 MB / 0.893 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008913/0.5099, allocations: 2.917 MB / 0.8958 GB, free: 9.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01245/0.5223, allocations: 6.95 MB / 0.9026 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005273/0.5277, allocations: 2.624 MB / 0.9052 GB, free: 316 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4324/0.9601, allocations: 2.91 MB / 0.908 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005444/0.9656, allocations: 2.223 MB / 0.9102 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001779/0.9674, allocations: 313.2 kB / 0.9105 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006429/0.9738, allocations: 2.154 MB / 0.9126 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002544/0.9764, allocations: 1.281 MB / 0.9138 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004327/0.9808, allocations: 1.977 MB / 0.9158 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.991, allocations: 6.011 MB / 0.9216 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.991, allocations: 1.516 kB / 0.9216 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.784e-06/0.991, allocations: 0 / 0.9216 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001733/0.9912, allocations: 0 / 0.9216 GB, free: 11.19 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.01096/1.002, allocations: 4.46 MB / 0.926 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/1.002, allocations: 9.844 kB / 0.926 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005356/1.008, allocations: 0.9204 MB / 0.9269 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008214/1.016, allocations: 3.647 MB / 0.9305 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001024/1.017, allocations: 311.8 kB / 0.9308 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000555/1.017, allocations: 187.2 kB / 0.9309 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005826/1.023, allocations: 2.401 MB / 0.9333 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/1.023, allocations: 2.25 kB / 0.9333 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/1.024, allocations: 67.41 kB / 0.9334 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.773e-05/1.024, allocations: 39.09 kB / 0.9334 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005451/1.029, allocations: 1.892 MB / 0.9352 GB, free: 7.781 MB / 0.7169 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.01831/1.047, allocations: 10.7 MB / 0.9457 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0047/1.052, allocations: 1.598 MB / 0.9473 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002073/1.054, allocations: 0.7545 MB / 0.948 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006719/1.061, allocations: 3.646 MB / 0.9515 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/1.061, allocations: 40.16 kB / 0.9516 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.655e-06/1.061, allocations: 0 / 0.9516 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.008634/1.07, allocations: 2.609 MB / 0.9541 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/1.07, allocations: 63.69 kB / 0.9542 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005982/1.076, allocations: 3.704 MB / 0.9578 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000438/1.076, allocations: 51.36 kB / 0.9579 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/1.077, allocations: 1.579 MB / 0.9594 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/1.078, allocations: 275.9 kB / 0.9597 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005578/1.078, allocations: 381.9 kB / 0.96 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.078, allocations: 305.1 kB / 0.9603 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00249/1.081, allocations: 1.285 MB / 0.9616 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002832/1.084, allocations: 1.99 MB / 0.9635 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005285/1.089, allocations: 3.179 MB / 0.9666 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.03e-05/1.089, allocations: 3.562 kB / 0.9666 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.00762/1.097, allocations: 3.641 MB / 0.9702 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/1.097, allocations: 15.34 kB / 0.9702 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.694e-05/1.097, allocations: 20.34 kB / 0.9702 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006922/1.097, allocations: 311.4 kB / 0.9705 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/1.099, allocations: 443 kB / 0.9709 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007821/1.1, allocations: 0.8163 MB / 0.9717 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003175/1.103, allocations: 297.7 kB / 0.972 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/1.103, allocations: 134.7 kB / 0.9721 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003265/1.107, allocations: 1.744 MB / 0.9738 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002311/1.109, allocations: 1.757 MB / 0.9756 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004373/1.113, allocations: 2.715 MB / 0.9782 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.203e-05/1.113, allocations: 6.5 kB / 0.9782 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=202) (initialization_lambda0): time 0.006553/1.12, allocations: 3.199 MB / 0.9813 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/1.12, allocations: 15.16 kB / 0.9814 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/1.12, allocations: 21.97 kB / 0.9814 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/1.121, allocations: 393.8 kB / 0.9818 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/1.123, allocations: 413.6 kB / 0.9822 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006327/1.129, allocations: 5.025 MB / 0.9871 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/1.132, allocations: 219 kB / 0.9873 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/1.132, allocations: 121.1 kB / 0.9874 GB, free: 3.047 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * 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 (177): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * 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.0005584/1.133, allocations: 286.8 kB / 0.9877 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006458/1.134, allocations: 318.7 kB / 0.988 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005916/1.14, allocations: 2.279 MB / 0.9902 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.382e-05/1.14, allocations: 13.77 kB / 0.9902 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.14, allocations: 4 kB / 0.9902 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/1.14, allocations: 6.422 kB / 0.9902 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009475/1.149, allocations: 4.413 MB / 0.9945 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/1.149, allocations: 11.12 kB / 0.9945 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/1.15, allocations: 253.6 kB / 0.9948 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003502/1.151, allocations: 144.1 kB / 0.9949 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.941e-05/1.151, allocations: 35.91 kB / 0.9949 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006432/1.152, allocations: 0.7319 MB / 0.9957 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.152, allocations: 7.984 kB / 0.9957 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008653/1.16, allocations: 3.14 MB / 0.9987 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/1.162, allocations: 0.5552 MB / 0.9993 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005533/1.163, allocations: 24 kB / 0.9993 GB, free: 8.363 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/1.165, allocations: 135.9 kB / 0.9994 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/1.165, allocations: 60.91 kB / 0.9995 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.165, allocations: 59.05 kB / 0.9995 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004315/1.169, allocations: 2.553 MB / 1.002 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.543e-06/1.169, allocations: 0 / 1.002 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005286/1.174, allocations: 1.516 MB / 1.004 GB, free: 4.035 MB / 0.7481 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_dNrpm.x,dm_flow_dNrpm.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 (90): * Single equations (assignments): 81 * 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.001686/1.176, allocations: 0.6649 MB / 1.004 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009487/1.186, allocations: 4.024 MB / 1.008 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.186, allocations: 0 / 1.008 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002515/1.188, allocations: 0.8678 MB / 1.009 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007654/1.196, allocations: 1.736 MB / 1.011 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/1.206, allocations: 5.739 MB / 1.016 GB, free: 7.25 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001761/1.208, allocations: 2.106 MB / 1.018 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003771/1.212, allocations: 0.7961 MB / 1.019 GB, free: 4.316 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006638/1.212, allocations: 251.3 kB / 1.019 GB, free: 4.074 MB / 0.7637 GB Notification: Performance of SimCode: time 8.72e-07/1.212, allocations: 0 / 1.019 GB, free: 4.074 MB / 0.7637 GB Notification: Performance of Templates: time 0.1294/1.342, allocations: 74.86 MB / 1.092 GB, free: 10.55 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)