Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009758/0.000976, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007556/0.007556, allocations: 173.8 kB / 16.27 MB, free: 6.613 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.596/1.596, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.812/1.812, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005456/0.0005452, allocations: 13.69 kB / 0.6743 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2608, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.09765/0.3585, allocations: 102.9 MB / 0.8884 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.5869/0.9454, allocations: 36.57 MB / 0.9241 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009614/0.9551, allocations: 141.1 kB / 0.9242 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007468/0.9626, allocations: 1.667 MB / 0.9259 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0195/0.9822, allocations: 4.619 MB / 0.9304 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0127/0.9949, allocations: 3.507 MB / 0.9338 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02362/1.019, allocations: 12.6 MB / 0.9461 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008262/1.027, allocations: 2.922 MB / 0.9489 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01181/1.039, allocations: 3.335 MB / 0.9522 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008525/1.047, allocations: 2.951 MB / 0.9551 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002244/1.05, allocations: 165.1 kB / 0.9552 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01007/1.06, allocations: 2.365 MB / 0.9576 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003183/1.063, allocations: 1.068 MB / 0.9586 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.006648/1.07, allocations: 2.075 MB / 0.9606 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01504/1.085, allocations: 7.04 MB / 0.9675 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.085, allocations: 4 kB / 0.9675 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.476e-06/1.085, allocations: 0 / 0.9675 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002913/1.085, allocations: 0 / 0.9675 GB, free: 1.633 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: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.0112/1.096, allocations: 4.314 MB / 0.9717 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.096, allocations: 13.19 kB / 0.9717 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007305/1.104, allocations: 1.269 MB / 0.973 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/1.116, allocations: 4.262 MB / 0.9771 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003387/1.117, allocations: 185.7 kB / 0.9773 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001132/1.118, allocations: 230.7 kB / 0.9775 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008112/1.126, allocations: 2.739 MB / 0.9802 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.106e-05/1.126, allocations: 6.188 kB / 0.9802 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004782/1.126, allocations: 87.25 kB / 0.9803 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-05/1.126, allocations: 50.69 kB / 0.9803 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005703/1.132, allocations: 2.004 MB / 0.9823 GB, free: 10.07 MB / 0.7325 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.02118/1.153, allocations: 12.44 MB / 0.9944 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/1.157, allocations: 1.598 MB / 0.996 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/1.159, allocations: 0.7547 MB / 0.9967 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/1.17, allocations: 4.068 MB / 1.001 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/1.17, allocations: 45.25 kB / 1.001 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002486/1.172, allocations: 204.5 kB / 1.001 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=111): time 1.345e-05/1.172, allocations: 0 / 1.001 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of matching and sorting (n=111): time 0.01011/1.182, allocations: 3.142 MB / 1.004 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/1.182, allocations: 69.69 kB / 1.004 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006645/1.189, allocations: 3.379 MB / 1.007 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000474/1.19, allocations: 57.7 kB / 1.007 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002016/1.192, allocations: 1.757 MB / 1.009 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006126/1.192, allocations: 383.1 kB / 1.01 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004626/1.193, allocations: 189.6 kB / 1.01 GB, free: 4.211 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/1.193, allocations: 301.1 kB / 1.01 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002725/1.196, allocations: 1.21 MB / 1.011 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003269/1.199, allocations: 1.911 MB / 1.013 GB, free: 496 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005636/1.205, allocations: 3.031 MB / 1.016 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/1.205, allocations: 8 kB / 1.016 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008723/1.213, allocations: 3.837 MB / 1.02 GB, free: 9.344 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005017/1.214, allocations: 0.6245 MB / 1.02 GB, free: 8.477 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.35e-05/1.214, allocations: 20 kB / 1.02 GB, free: 8.457 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/1.216, allocations: 0.7294 MB / 1.021 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/1.218, allocations: 431.3 kB / 1.022 GB, free: 7.293 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/1.221, allocations: 2.76 MB / 1.024 GB, free: 4.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003543/1.224, allocations: 217 kB / 1.024 GB, free: 4.223 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005265/1.225, allocations: 151.9 kB / 1.025 GB, free: 4.074 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.225, allocations: 4 kB / 1.025 GB, free: 4.07 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007864/1.233, allocations: 3.173 MB / 1.028 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.133e-05/1.233, allocations: 16 kB / 1.028 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002867/1.236, allocations: 0.8511 MB / 1.029 GB, free: 4 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/1.237, allocations: 411.3 kB / 1.029 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/1.255, allocations: 12.33 MB / 1.041 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003361/1.259, allocations: 195.7 kB / 1.041 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005604/1.259, allocations: 136 kB / 1.041 GB, free: 2.301 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (207): * Single equations (assignments): 199 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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.00276/1.262, allocations: 0.8659 MB / 1.042 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/1.263, allocations: 363.3 kB / 1.042 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007336/1.271, allocations: 2.705 MB / 1.045 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/1.271, allocations: 12 kB / 1.045 GB, free: 14.33 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.271, allocations: 11.98 kB / 1.045 GB, free: 14.32 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/1.271, allocations: 3.984 kB / 1.045 GB, free: 14.32 MB / 0.795 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 postOpt removeSimpleEquations (simulation): time 0.01205/1.283, allocations: 4.93 MB / 1.05 GB, free: 9.336 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/1.283, allocations: 4.125 kB / 1.05 GB, free: 9.332 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/1.284, allocations: 239.7 kB / 1.05 GB, free: 9.098 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/1.285, allocations: 392.4 kB / 1.051 GB, free: 8.703 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/1.285, allocations: 51.95 kB / 1.051 GB, free: 8.652 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/1.287, allocations: 2.619 MB / 1.053 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.287, allocations: 8.219 kB / 1.053 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006281/1.294, allocations: 2.448 MB / 1.056 GB, free: 3.43 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002666/1.296, allocations: 0.5898 MB / 1.056 GB, free: 2.816 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/1.297, allocations: 24 kB / 1.056 GB, free: 2.793 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002679/1.3, allocations: 203.5 kB / 1.056 GB, free: 2.594 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/1.3, allocations: 97.06 kB / 1.056 GB, free: 2.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/1.301, allocations: 71.94 kB / 1.056 GB, free: 2.43 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.004701/1.305, allocations: 2.254 MB / 1.059 GB, free: 176 kB / 0.795 GB Notification: Performance of sort global known variables: time 3.81e-07/1.305, allocations: 0 / 1.059 GB, free: 176 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.007505/1.313, allocations: 1.797 MB / 1.06 GB, free: 14.37 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.002079/1.315, allocations: 0.7291 MB / 1.061 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00977/1.325, allocations: 4.467 MB / 1.066 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.325, allocations: 0 / 1.066 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002391/1.327, allocations: 0.9149 MB / 1.066 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0101/1.337, allocations: 1.705 MB / 1.068 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/1.35, allocations: 7.333 MB / 1.075 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002644/1.353, allocations: 2.238 MB / 1.077 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004685/1.357, allocations: 0.8692 MB / 1.078 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.358, allocations: 279.2 kB / 1.079 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of SimCode: time 8.92e-07/1.358, allocations: 4 kB / 1.079 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of Templates: time 0.1405/1.499, allocations: 78.61 MB / 1.155 GB, free: 14.29 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) Environment - environmentSimulation: