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.001716/0.001716, allocations: 108.8 kB / 16.41 MB, free: 6.508 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.001848/0.001848, allocations: 192 kB / 17.34 MB, free: 5.734 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.408/1.408, 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.002579/0.002579, allocations: 292.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.05/1.05, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002838/0.002838, allocations: 91.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4147, allocations: 86.99 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.0893/0.504, allocations: 79.48 MB / 0.8447 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04312/0.5471, allocations: 28.44 MB / 0.8724 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004088/0.5512, allocations: 123.4 kB / 0.8726 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007151/0.5583, allocations: 2.668 MB / 0.8752 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.5686, allocations: 4.003 MB / 0.8791 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008455/0.5771, allocations: 3.175 MB / 0.8822 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.03444/0.6115, allocations: 22.61 MB / 0.9043 GB, free: 7.023 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004339/0.6159, allocations: 2.286 MB / 0.9065 GB, free: 4.676 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007459/0.6233, allocations: 3.199 MB / 0.9096 GB, free: 1.477 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004559/0.6279, allocations: 2.569 MB / 0.9121 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.629, allocations: 372 kB / 0.9125 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005491/0.6345, allocations: 2.364 MB / 0.9148 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00223/0.6367, allocations: 1.846 MB / 0.9166 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003951/0.6406, allocations: 2.639 MB / 0.9192 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.6529, allocations: 7.916 MB / 0.9269 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.6529, allocations: 0 / 0.9269 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6529, allocations: 0 / 0.9269 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001737/0.6531, allocations: 7.938 kB / 0.9269 GB, free: 15.71 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.01327/0.6664, allocations: 5.998 MB / 0.9328 GB, free: 9.605 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.6664, allocations: 16.03 kB / 0.9328 GB, free: 9.59 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009311/0.6757, allocations: 1.573 MB / 0.9343 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01584/0.6916, allocations: 7.515 MB / 0.9416 GB, free: 444 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.6918, allocations: 143.2 kB / 0.9418 GB, free: 300 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006022/0.6924, allocations: 192 kB / 0.942 GB, free: 108 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005834/0.6982, allocations: 2.607 MB / 0.9445 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.6982, allocations: 3.938 kB / 0.9445 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/0.6984, allocations: 68 kB / 0.9446 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/0.6985, allocations: 43.94 kB / 0.9446 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005906/0.7044, allocations: 2.006 MB / 0.9466 GB, free: 11.28 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.3695/1.074, allocations: 11.75 MB / 0.9581 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005893/1.08, allocations: 1.658 MB / 0.9597 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002166/1.082, allocations: 0.752 MB / 0.9604 GB, free: 174.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007652/1.09, allocations: 4.066 MB / 0.9644 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/1.09, allocations: 44.39 kB / 0.9644 GB, free: 171.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=82): time 4.037e-06/1.09, allocations: 3.438 kB / 0.9644 GB, free: 171.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=82): time 0.008352/1.098, allocations: 2.808 MB / 0.9672 GB, free: 170.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/1.098, allocations: 63.44 kB / 0.9672 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007197/1.105, allocations: 5.685 MB / 0.9728 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003291/1.106, allocations: 53.55 kB / 0.9728 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001418/1.107, allocations: 2.058 MB / 0.9748 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/1.107, allocations: 323.3 kB / 0.9752 GB, free: 167.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008679/1.108, allocations: 0.7035 MB / 0.9758 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.817e-05/1.108, allocations: 302.2 kB / 0.9761 GB, free: 166.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0031/1.111, allocations: 2.04 MB / 0.9781 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003364/1.115, allocations: 2.912 MB / 0.981 GB, free: 164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006029/1.121, allocations: 4.592 MB / 0.9854 GB, free: 161.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-05/1.121, allocations: 8 kB / 0.9855 GB, free: 161.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.008399/1.129, allocations: 5.598 MB / 0.9909 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/1.129, allocations: 12 kB / 0.9909 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/1.129, allocations: 24 kB / 0.991 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006997/1.13, allocations: 408.6 kB / 0.9913 GB, free: 155.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/1.132, allocations: 0.5802 MB / 0.9919 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006635/1.133, allocations: 0.9068 MB / 0.9928 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003762/1.137, allocations: 417.3 kB / 0.9932 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002874/1.137, allocations: 155.9 kB / 0.9933 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004105/1.141, allocations: 2.853 MB / 0.9961 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002925/1.144, allocations: 2.686 MB / 0.9988 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005151/1.149, allocations: 4.137 MB / 1.003 GB, free: 143.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.168e-05/1.149, allocations: 4 kB / 1.003 GB, free: 143.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.007919/1.157, allocations: 5.18 MB / 1.008 GB, free: 137.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.157, allocations: 16 kB / 1.008 GB, free: 137.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/1.157, allocations: 20 kB / 1.008 GB, free: 137.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009196/1.158, allocations: 456.3 kB / 1.008 GB, free: 137.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002052/1.16, allocations: 0.5577 MB / 1.009 GB, free: 136.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006233/1.166, allocations: 6.141 MB / 1.015 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003906/1.17, allocations: 329.1 kB / 1.015 GB, free: 130.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003275/1.17, allocations: 144 kB / 1.015 GB, free: 130.2 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.000556/1.171, allocations: 308.4 kB / 1.016 GB, free: 129.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/1.172, allocations: 464.8 kB / 1.016 GB, free: 129.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005694/1.178, allocations: 2.465 MB / 1.018 GB, free: 127 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/1.178, allocations: 19.98 kB / 1.018 GB, free: 127 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/1.178, allocations: 3.719 kB / 1.018 GB, free: 127 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.178, allocations: 7.922 kB / 1.018 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009874/1.188, allocations: 5.14 MB / 1.024 GB, free: 121.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.188, allocations: 4 kB / 1.024 GB, free: 121.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/1.189, allocations: 263.8 kB / 1.024 GB, free: 121.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003273/1.189, allocations: 172.5 kB / 1.024 GB, free: 121.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.424e-05/1.189, allocations: 35.95 kB / 1.024 GB, free: 121.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005146/1.19, allocations: 0.8022 MB / 1.025 GB, free: 120.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.19, allocations: 0 / 1.025 GB, free: 120.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007367/1.197, allocations: 3.438 MB / 1.028 GB, free: 117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/1.199, allocations: 0.77 MB / 1.029 GB, free: 116.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/1.2, allocations: 20 kB / 1.029 GB, free: 116.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00285/1.203, allocations: 147.8 kB / 1.029 GB, free: 116.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.203, allocations: 68.84 kB / 1.029 GB, free: 116 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/1.204, allocations: 51.95 kB / 1.029 GB, free: 115.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.006034/1.21, allocations: 3.869 MB / 1.033 GB, free: 112.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/1.21, allocations: 0 / 1.033 GB, free: 112.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005319/1.215, allocations: 1.943 MB / 1.035 GB, free: 110.3 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.001608/1.217, allocations: 0.8188 MB / 1.036 GB, free: 109.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009029/1.226, allocations: 5.399 MB / 1.041 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.226, allocations: 4 kB / 1.041 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002134/1.228, allocations: 0.8296 MB / 1.042 GB, free: 103.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009651/1.237, allocations: 2.411 MB / 1.044 GB, free: 101.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/1.251, allocations: 7.868 MB / 1.052 GB, free: 93.15 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001889/1.253, allocations: 2.667 MB / 1.054 GB, free: 90.45 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004553/1.257, allocations: 1.219 MB / 1.056 GB, free: 89.23 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/1.258, allocations: 347.3 kB / 1.056 GB, free: 88.89 MB / 0.7169 GB Notification: Performance of SimCode: time 7.72e-07/1.258, allocations: 0 / 1.056 GB, free: 88.89 MB / 0.7169 GB Notification: Performance of Templates: time 0.1296/1.388, allocations: 95.38 MB / 1.149 GB, free: 10.96 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)