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.001547/0.001547, allocations: 105.3 kB / 16.41 MB, free: 6.496 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.00151/0.00151, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002188/0.002189, allocations: 289.4 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9458/0.9458, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 99.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4925/0.4945, allocations: 86.98 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.07545/0.57, allocations: 79.33 MB / 0.8445 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03944/0.6095, allocations: 28.41 MB / 0.8723 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005842/0.6154, allocations: 127.3 kB / 0.8724 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00752/0.6229, allocations: 2.633 MB / 0.875 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.6341, allocations: 3.896 MB / 0.8788 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00856/0.6427, allocations: 3.158 MB / 0.8818 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.03197/0.6747, allocations: 22.53 MB / 0.9038 GB, free: 7.438 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005763/0.6805, allocations: 2.758 MB / 0.9065 GB, free: 4.617 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008165/0.6887, allocations: 3.193 MB / 0.9097 GB, free: 1.422 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004558/0.6933, allocations: 2.573 MB / 0.9122 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001422/0.6947, allocations: 372 kB / 0.9125 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006444/0.7012, allocations: 2.36 MB / 0.9148 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002433/0.7036, allocations: 1.815 MB / 0.9166 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005296/0.709, allocations: 2.643 MB / 0.9192 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.7218, allocations: 7.874 MB / 0.9269 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.7218, allocations: 0 / 0.9269 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7219, allocations: 8 kB / 0.9269 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002617/0.7221, allocations: 0 / 0.9269 GB, free: 15.73 MB / 0.7012 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.01617/0.7383, allocations: 5.83 MB / 0.9326 GB, free: 9.797 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.7384, allocations: 12.03 kB / 0.9326 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008769/0.7471, allocations: 1.543 MB / 0.9341 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01621/0.7634, allocations: 7.467 MB / 0.9414 GB, free: 0.6992 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.7636, allocations: 143.2 kB / 0.9415 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000706/0.7644, allocations: 184 kB / 0.9417 GB, free: 388 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006058/0.7704, allocations: 2.607 MB / 0.9442 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.363e-05/0.7705, allocations: 4 kB / 0.9442 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002731/0.7708, allocations: 68 kB / 0.9443 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.882e-05/0.7708, allocations: 43.94 kB / 0.9444 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00591/0.7768, allocations: 2.002 MB / 0.9463 GB, free: 11.55 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.4335/1.21, allocations: 11.74 MB / 0.9578 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006174/1.216, allocations: 1.708 MB / 0.9594 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002197/1.219, allocations: 0.7956 MB / 0.9602 GB, free: 174.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00784/1.227, allocations: 4.07 MB / 0.9642 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/1.227, allocations: 42.84 kB / 0.9642 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=82): time 2.696e-06/1.227, allocations: 0 / 0.9642 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=82): time 0.008466/1.235, allocations: 2.79 MB / 0.967 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/1.235, allocations: 60.62 kB / 0.967 GB, free: 171 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00801/1.243, allocations: 5.68 MB / 0.9726 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003606/1.244, allocations: 56.36 kB / 0.9726 GB, free: 169 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00143/1.245, allocations: 2.027 MB / 0.9746 GB, free: 167.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/1.245, allocations: 309.9 kB / 0.9749 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008943/1.246, allocations: 0.7 MB / 0.9756 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.642e-05/1.246, allocations: 301.1 kB / 0.9759 GB, free: 166.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003024/1.249, allocations: 2.038 MB / 0.9778 GB, free: 166 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003449/1.253, allocations: 2.911 MB / 0.9807 GB, free: 164.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006206/1.259, allocations: 4.597 MB / 0.9852 GB, free: 161.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.992e-05/1.259, allocations: 6.906 kB / 0.9852 GB, free: 161.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.008623/1.268, allocations: 5.578 MB / 0.9906 GB, free: 156 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/1.268, allocations: 12 kB / 0.9906 GB, free: 156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/1.268, allocations: 27.06 kB / 0.9907 GB, free: 156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007072/1.269, allocations: 416.5 kB / 0.9911 GB, free: 155.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/1.271, allocations: 0.5767 MB / 0.9916 GB, free: 155 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006967/1.271, allocations: 0.9073 MB / 0.9925 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003571/1.275, allocations: 400.4 kB / 0.9929 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/1.275, allocations: 152 kB / 0.993 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00419/1.279, allocations: 2.853 MB / 0.9958 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002888/1.282, allocations: 2.688 MB / 0.9985 GB, free: 147.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005081/1.287, allocations: 4.135 MB / 1.002 GB, free: 143.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-05/1.287, allocations: 8 kB / 1.003 GB, free: 143.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.007943/1.295, allocations: 5.162 MB / 1.008 GB, free: 138.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/1.295, allocations: 16.94 kB / 1.008 GB, free: 138.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/1.296, allocations: 20 kB / 1.008 GB, free: 138.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009081/1.296, allocations: 453.3 kB / 1.008 GB, free: 137.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/1.298, allocations: 0.5567 MB / 1.009 GB, free: 137.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006597/1.305, allocations: 6.135 MB / 1.015 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004218/1.309, allocations: 322.1 kB / 1.015 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004364/1.31, allocations: 140 kB / 1.015 GB, free: 130.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (281): * Single equations (assignments): 274 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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.0005822/1.31, allocations: 323.3 kB / 1.015 GB, free: 130.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.311, allocations: 438.1 kB / 1.016 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005658/1.317, allocations: 2.471 MB / 1.018 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/1.317, allocations: 10.08 kB / 1.018 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/1.317, allocations: 3.812 kB / 1.018 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/1.317, allocations: 15.91 kB / 1.018 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/1.327, allocations: 5.139 MB / 1.023 GB, free: 122 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.327, allocations: 3.984 kB / 1.023 GB, free: 122 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/1.329, allocations: 267.8 kB / 1.023 GB, free: 121.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003208/1.329, allocations: 156.7 kB / 1.024 GB, free: 121.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.789e-05/1.329, allocations: 35.97 kB / 1.024 GB, free: 121.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005219/1.33, allocations: 0.8137 MB / 1.024 GB, free: 120.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.33, allocations: 3.984 kB / 1.024 GB, free: 120.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007272/1.337, allocations: 3.4 MB / 1.028 GB, free: 117.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002242/1.339, allocations: 0.7448 MB / 1.028 GB, free: 116.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008989/1.34, allocations: 16 kB / 1.028 GB, free: 116.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/1.342, allocations: 151.8 kB / 1.029 GB, free: 116.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/1.343, allocations: 68.84 kB / 1.029 GB, free: 116.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/1.343, allocations: 55.94 kB / 1.029 GB, free: 116.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.005607/1.348, allocations: 3.86 MB / 1.033 GB, free: 112.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.01e-07/1.348, allocations: 0 / 1.033 GB, free: 112.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005592/1.354, allocations: 1.94 MB / 1.034 GB, free: 110.5 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.001652/1.356, allocations: 0.8124 MB / 1.035 GB, free: 109.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009107/1.365, allocations: 5.754 MB / 1.041 GB, free: 104 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/1.365, allocations: 4 kB / 1.041 GB, free: 104 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002149/1.367, allocations: 0.8846 MB / 1.042 GB, free: 103.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009422/1.376, allocations: 2.413 MB / 1.044 GB, free: 100.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/1.389, allocations: 7.928 MB / 1.052 GB, free: 92.86 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001815/1.391, allocations: 2.648 MB / 1.054 GB, free: 90.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/1.392, allocations: 367.3 kB / 1.055 GB, free: 89.82 MB / 0.7169 GB Notification: Performance of SimCode: time 9.72e-07/1.392, allocations: 0 / 1.055 GB, free: 89.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.1104/1.503, allocations: 99.44 MB / 1.152 GB, free: 7.07 MB / 0.7325 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)