Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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: translateModel(BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001098/0.001098, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001047/0.001047, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002312/0.002312, allocations: 298.1 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9037/0.9037, allocations: 169.3 MB / 0.4988 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 107 kB / 0.5959 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1676, allocations: 86.96 MB / 0.6808 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.4026/0.5702, allocations: 79.34 MB / 0.7583 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.04305/0.6133, allocations: 28.4 MB / 0.786 GB, free: 3.523 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005331/0.6187, allocations: 123.4 kB / 0.7862 GB, free: 3.402 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01934/0.6381, allocations: 11.46 MB / 0.7974 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0112/0.6493, allocations: 3.767 MB / 0.801 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007648/0.657, allocations: 3.087 MB / 0.804 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0287/0.6857, allocations: 20.15 MB / 0.8237 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004913/0.6906, allocations: 2.719 MB / 0.8264 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007102/0.6977, allocations: 3.083 MB / 0.8294 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004099/0.7019, allocations: 2.521 MB / 0.8319 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001246/0.7031, allocations: 360 kB / 0.8322 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006961/0.7101, allocations: 2.929 MB / 0.8351 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002115/0.7122, allocations: 1.799 MB / 0.8368 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004679/0.7169, allocations: 2.639 MB / 0.8394 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.7293, allocations: 8.237 MB / 0.8474 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7293, allocations: 0 / 0.8474 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7293, allocations: 0 / 0.8474 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002096/0.7295, allocations: 4 kB / 0.8474 GB, free: 4.523 MB / 0.6075 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.01336/0.7429, allocations: 5.851 MB / 0.8532 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.7429, allocations: 8.031 kB / 0.8532 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008454/0.7514, allocations: 1.551 MB / 0.8547 GB, free: 13 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/0.764, allocations: 7.089 MB / 0.8616 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005301/0.7646, allocations: 211.8 kB / 0.8618 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006222/0.7652, allocations: 196 kB / 0.862 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005887/0.7711, allocations: 2.616 MB / 0.8645 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.7712, allocations: 4 kB / 0.8645 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002041/0.7714, allocations: 68 kB / 0.8646 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.7714, allocations: 43.94 kB / 0.8646 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005411/0.7769, allocations: 2.03 MB / 0.8666 GB, free: 0.5898 MB / 0.6231 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.01907/0.7959, allocations: 11.82 MB / 0.8782 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005297/0.8013, allocations: 1.754 MB / 0.8799 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002175/0.8035, allocations: 0.8006 MB / 0.8807 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007195/0.8107, allocations: 4.108 MB / 0.8847 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.8108, allocations: 47.16 kB / 0.8847 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.186e-06/0.8108, allocations: 0 / 0.8847 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.008467/0.8193, allocations: 2.813 MB / 0.8875 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.8193, allocations: 60.06 kB / 0.8875 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/0.8296, allocations: 5.533 MB / 0.8929 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003828/0.83, allocations: 65.69 kB / 0.893 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002128/0.8322, allocations: 2.011 MB / 0.895 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005232/0.8327, allocations: 315.7 kB / 0.8953 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001627/0.8344, allocations: 0.753 MB / 0.896 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.8345, allocations: 301.1 kB / 0.8963 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003903/0.8384, allocations: 2.193 MB / 0.8984 GB, free: 15.08 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004496/0.8429, allocations: 3.086 MB / 0.9014 GB, free: 11.65 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007859/0.8508, allocations: 4.891 MB / 0.9062 GB, free: 6.465 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.83e-05/0.8508, allocations: 8 kB / 0.9062 GB, free: 6.457 MB / 0.67 GB Notification: Performance of matching and sorting (n=432) (initialization): time 0.01135/0.8622, allocations: 5.953 MB / 0.912 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/0.8623, allocations: 16.22 kB / 0.912 GB, free: 488 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.528e-05/0.8623, allocations: 24 kB / 0.9121 GB, free: 464 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008425/0.8632, allocations: 408.6 kB / 0.9125 GB, free: 52 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002548/0.8657, allocations: 0.6201 MB / 0.9131 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009881/0.8667, allocations: 0.9035 MB / 0.9139 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004085/0.8708, allocations: 421.1 kB / 0.9143 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004382/0.8713, allocations: 171.9 kB / 0.9145 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005424/0.8767, allocations: 3.008 MB / 0.9174 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004209/0.881, allocations: 2.861 MB / 0.9202 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006946/0.8879, allocations: 4.452 MB / 0.9246 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.061e-05/0.888, allocations: 15.94 kB / 0.9246 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of matching and sorting (n=432) (initialization_lambda0): time 0.01015/0.8981, allocations: 5.518 MB / 0.93 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.8982, allocations: 16 kB / 0.93 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/0.8982, allocations: 20 kB / 0.93 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.8993, allocations: 452.7 kB / 0.9305 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002302/0.9016, allocations: 0.6007 MB / 0.931 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007956/0.9095, allocations: 6.117 MB / 0.937 GB, free: 5.973 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004025/0.9136, allocations: 336 kB / 0.9373 GB, free: 5.645 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005308/0.9141, allocations: 159.9 kB / 0.9375 GB, free: 5.488 MB / 0.7012 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.0008591/0.915, allocations: 315.5 kB / 0.9378 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/0.9163, allocations: 438.1 kB / 0.9382 GB, free: 4.738 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007343/0.9237, allocations: 2.514 MB / 0.9407 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/0.9237, allocations: 15.98 kB / 0.9407 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.9237, allocations: 0 / 0.9407 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.9238, allocations: 3.984 kB / 0.9407 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/0.9369, allocations: 5.176 MB / 0.9457 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.937, allocations: 3.938 kB / 0.9457 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.9385, allocations: 267.8 kB / 0.946 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003965/0.939, allocations: 168.6 kB / 0.9462 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.9391, allocations: 35.95 kB / 0.9462 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007022/0.9398, allocations: 0.8098 MB / 0.947 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9398, allocations: 0 / 0.947 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008789/0.9486, allocations: 3.439 MB / 0.9503 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002772/0.9514, allocations: 0.7525 MB / 0.9511 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001737/0.9532, allocations: 16 kB / 0.9511 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002831/0.956, allocations: 151.9 kB / 0.9512 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.9562, allocations: 72.92 kB / 0.9513 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/0.9564, allocations: 59.94 kB / 0.9514 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.007617/0.964, allocations: 3.731 MB / 0.955 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.51e-07/0.964, allocations: 0 / 0.955 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.008003/0.972, allocations: 2.067 MB / 0.957 GB, free: 1.305 MB / 0.7169 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.002602/0.9747, allocations: 0.9038 MB / 0.9579 GB, free: 416 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.3094/1.284, allocations: 6.289 MB / 0.9641 GB, free: 237.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.284, allocations: 1 kB / 0.9641 GB, free: 237.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002649/1.287, allocations: 0.8879 MB / 0.9649 GB, free: 237.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01202/1.299, allocations: 2.363 MB / 0.9672 GB, free: 237 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/1.318, allocations: 8.176 MB / 0.9752 GB, free: 233.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002752/1.321, allocations: 2.646 MB / 0.9778 GB, free: 232.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00176/1.323, allocations: 369.2 kB / 0.9781 GB, free: 232.3 MB / 0.7169 GB Notification: Performance of SimCode: time 1.283e-06/1.323, allocations: 0 / 0.9781 GB, free: 232.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.1249/1.448, allocations: 99.46 MB / 1.075 GB, free: 151.8 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)