Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.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.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 109.8 kB / 16.37 MB, free: 6.477 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.001593/0.001593, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002132, allocations: 282.2 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9261/0.9261, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 94.33 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1547, allocations: 86.98 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction): time 0.363/0.5177, allocations: 104.1 MB / 0.7833 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.05188/0.5696, allocations: 34.93 MB / 0.8174 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007056/0.5767, allocations: 163.1 kB / 0.8175 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.03004/0.6068, allocations: 18.54 MB / 0.8356 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01479/0.6216, allocations: 5.286 MB / 0.8408 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01047/0.6321, allocations: 4.022 MB / 0.8447 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.04396/0.6761, allocations: 31.09 MB / 0.8751 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006312/0.6824, allocations: 3.547 MB / 0.8785 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009137/0.6916, allocations: 4.117 MB / 0.8826 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005885/0.6975, allocations: 3.26 MB / 0.8857 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001966/0.6995, allocations: 435.9 kB / 0.8862 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00788/0.7074, allocations: 2.901 MB / 0.889 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002784/0.7102, allocations: 1.826 MB / 0.8908 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006644/0.7169, allocations: 2.946 MB / 0.8937 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01398/0.7309, allocations: 8.606 MB / 0.9021 GB, free: 12.95 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7309, allocations: 3.938 kB / 0.9021 GB, free: 12.94 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7309, allocations: 4 kB / 0.9021 GB, free: 12.94 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002375/0.7312, allocations: 0 / 0.9021 GB, free: 12.94 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 541 * Number of variables: 541 Notification: Performance of Generate backend data structure: time 0.01184/0.743, allocations: 6.183 MB / 0.9081 GB, free: 6.641 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.7431, allocations: 12.02 kB / 0.9081 GB, free: 6.629 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.7533, allocations: 1.893 MB / 0.91 GB, free: 4.727 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01494/0.7682, allocations: 7.069 MB / 0.9169 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.7685, allocations: 188.2 kB / 0.917 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006194/0.7691, allocations: 240 kB / 0.9173 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005962/0.7751, allocations: 3.22 MB / 0.9204 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.7751, allocations: 7.938 kB / 0.9204 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002283/0.7754, allocations: 88 kB / 0.9205 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/0.7754, allocations: 56 kB / 0.9206 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005911/0.7813, allocations: 2.588 MB / 0.9231 GB, free: 7.051 MB / 0.6856 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.02091/0.8023, allocations: 14.83 MB / 0.9376 GB, free: 7.305 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005248/0.8075, allocations: 2.273 MB / 0.9398 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002229/0.8098, allocations: 0.9959 MB / 0.9408 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00801/0.8178, allocations: 4.969 MB / 0.9456 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.8179, allocations: 51.56 kB / 0.9457 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=112): time 2.434e-06/0.8179, allocations: 0 / 0.9457 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of matching and sorting (n=112): time 0.01049/0.8284, allocations: 3.949 MB / 0.9495 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.8284, allocations: 60.41 kB / 0.9496 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006948/0.8354, allocations: 5.416 MB / 0.9549 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003213/0.8357, allocations: 61.7 kB / 0.9549 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001784/0.8375, allocations: 2.223 MB / 0.9571 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004735/0.838, allocations: 414.4 kB / 0.9575 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/0.8392, allocations: 0.876 MB / 0.9584 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.8393, allocations: 301.1 kB / 0.9586 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2704/1.11, allocations: 2.616 MB / 0.9612 GB, free: 238.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005538/1.115, allocations: 3.469 MB / 0.9646 GB, free: 237.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008954/1.124, allocations: 5.576 MB / 0.97 GB, free: 235.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-05/1.124, allocations: 5.281 kB / 0.97 GB, free: 235.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01262/1.137, allocations: 7.058 MB / 0.9769 GB, free: 232.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/1.137, allocations: 13.75 kB / 0.9769 GB, free: 232.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/1.137, allocations: 20.09 kB / 0.977 GB, free: 232.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/1.139, allocations: 0.7223 MB / 0.9777 GB, free: 232.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/1.142, allocations: 0.6676 MB / 0.9783 GB, free: 232.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/1.143, allocations: 2.728 MB / 0.981 GB, free: 230.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003676/1.147, allocations: 437.5 kB / 0.9814 GB, free: 230.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003914/1.147, allocations: 212.2 kB / 0.9816 GB, free: 230.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00503/1.153, allocations: 3.236 MB / 0.9848 GB, free: 228.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003917/1.156, allocations: 3.024 MB / 0.9877 GB, free: 227.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006723/1.163, allocations: 4.721 MB / 0.9923 GB, free: 224.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.486e-05/1.163, allocations: 5.594 kB / 0.9923 GB, free: 224.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01081/1.174, allocations: 6.239 MB / 0.9984 GB, free: 222.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.174, allocations: 14.83 kB / 0.9984 GB, free: 222.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/1.174, allocations: 15.78 kB / 0.9984 GB, free: 222.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/1.176, allocations: 0.8174 MB / 0.9992 GB, free: 222.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002457/1.179, allocations: 0.6285 MB / 0.9999 GB, free: 222.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/1.193, allocations: 13.64 MB / 1.013 GB, free: 213.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003893/1.197, allocations: 356.2 kB / 1.014 GB, free: 213.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003905/1.198, allocations: 176.7 kB / 1.014 GB, free: 213 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (332): * Single equations (assignments): 320 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0007118/1.198, allocations: 332.9 kB / 1.014 GB, free: 212.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007441/1.199, allocations: 475.3 kB / 1.014 GB, free: 212.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007009/1.206, allocations: 3.334 MB / 1.018 GB, free: 210.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.206, allocations: 19.94 kB / 1.018 GB, free: 210.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.206, allocations: 4 kB / 1.018 GB, free: 210.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/1.206, allocations: 3.844 kB / 1.018 GB, free: 210.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/1.217, allocations: 6.135 MB / 1.024 GB, free: 205 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.217, allocations: 0 / 1.024 GB, free: 205 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/1.218, allocations: 302.9 kB / 1.024 GB, free: 204.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008342/1.219, allocations: 382.4 kB / 1.024 GB, free: 204.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/1.219, allocations: 55.77 kB / 1.024 GB, free: 204.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/1.221, allocations: 2.623 MB / 1.027 GB, free: 201.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.221, allocations: 3.781 kB / 1.027 GB, free: 201.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006053/1.227, allocations: 3.046 MB / 1.03 GB, free: 198.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/1.228, allocations: 0.7851 MB / 1.031 GB, free: 197.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005129/1.229, allocations: 27.5 kB / 1.031 GB, free: 197.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/1.231, allocations: 142.5 kB / 1.031 GB, free: 197.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.231, allocations: 93.12 kB / 1.031 GB, free: 197.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/1.231, allocations: 91.92 kB / 1.031 GB, free: 197.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004041/1.235, allocations: 3.573 MB / 1.035 GB, free: 193.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/1.235, allocations: 0 / 1.035 GB, free: 193.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004738/1.24, allocations: 2.313 MB / 1.037 GB, free: 191.6 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (117): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00158/1.242, allocations: 0.9124 MB / 1.038 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01225/1.254, allocations: 7.923 MB / 1.045 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.254, allocations: 0 / 1.045 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002487/1.256, allocations: 1.167 MB / 1.047 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007721/1.264, allocations: 2.434 MB / 1.049 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.275, allocations: 8.315 MB / 1.057 GB, free: 171 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001853/1.277, allocations: 2.879 MB / 1.06 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004368/1.281, allocations: 1.318 MB / 1.061 GB, free: 166.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009033/1.282, allocations: 375.2 kB / 1.062 GB, free: 166.4 MB / 0.7169 GB Notification: Performance of SimCode: time 6.31e-07/1.282, allocations: 0 / 1.062 GB, free: 166.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.1276/1.41, allocations: 104.4 MB / 1.164 GB, free: 63.36 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)