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.001188/0.001188, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001414/0.001414, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.49/1.49, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.799/1.799, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001342/0.001342, allocations: 67.47 kB / 0.671 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2463, allocations: 114.6 MB / 0.7828 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.102/0.3483, allocations: 104.5 MB / 0.8849 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.05485/0.4032, allocations: 36.34 MB / 0.9204 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007134/0.4104, allocations: 146.9 kB / 0.9205 GB, free: 464 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.5212/0.9316, allocations: 1.737 MB / 0.9222 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0163/0.948, allocations: 4.647 MB / 0.9267 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01234/0.9604, allocations: 3.553 MB / 0.9302 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01609/0.9765, allocations: 9.581 MB / 0.9396 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007758/0.9842, allocations: 3.522 MB / 0.943 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0126/0.9969, allocations: 4.018 MB / 0.9469 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008448/1.005, allocations: 3.19 MB / 0.9501 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001972/1.007, allocations: 413.1 kB / 0.9504 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01075/1.018, allocations: 2.658 MB / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003024/1.021, allocations: 1.328 MB / 0.9543 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.006487/1.028, allocations: 2.347 MB / 0.9566 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01443/1.042, allocations: 7.389 MB / 0.9638 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/1.042, allocations: 0 / 0.9638 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.795e-06/1.042, allocations: 0 / 0.9638 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002799/1.043, allocations: 1.156 kB / 0.9638 GB, free: 4.281 MB / 0.7325 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.01338/1.056, allocations: 5.06 MB / 0.9688 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.056, allocations: 9.625 kB / 0.9688 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00622/1.062, allocations: 1.163 MB / 0.9699 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00952/1.072, allocations: 4.262 MB / 0.9741 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/1.072, allocations: 187.1 kB / 0.9743 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005853/1.073, allocations: 235.3 kB / 0.9745 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005472/1.078, allocations: 2.732 MB / 0.9772 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.605e-05/1.078, allocations: 0 / 0.9772 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002688/1.078, allocations: 88.3 kB / 0.9772 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.456e-05/1.078, allocations: 57.25 kB / 0.9773 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004834/1.083, allocations: 1.993 MB / 0.9793 GB, free: 16.47 MB / 0.7481 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.02166/1.105, allocations: 12.42 MB / 0.9914 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003787/1.109, allocations: 1.604 MB / 0.9929 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/1.111, allocations: 0.7442 MB / 0.9937 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008282/1.119, allocations: 4.067 MB / 0.9976 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/1.119, allocations: 43.03 kB / 0.9977 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001908/1.121, allocations: 179.4 kB / 0.9979 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=111): time 4.038e-06/1.121, allocations: 0 / 0.9979 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of matching and sorting (n=111): time 0.009702/1.131, allocations: 3.13 MB / 1.001 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/1.131, allocations: 62.44 kB / 1.001 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006868/1.137, allocations: 3.387 MB / 1.004 GB, free: 196 kB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0006971/1.138, allocations: 62.36 kB / 1.004 GB, free: 140 kB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001652/1.14, allocations: 1.757 MB / 1.006 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000525/1.14, allocations: 389.8 kB / 1.006 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007525/1.141, allocations: 472 kB / 1.007 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.689e-05/1.141, allocations: 303.3 kB / 1.007 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002338/1.144, allocations: 1.224 MB / 1.008 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00297/1.147, allocations: 1.914 MB / 1.01 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005259/1.152, allocations: 3.029 MB / 1.013 GB, free: 9.719 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/1.152, allocations: 6.219 kB / 1.013 GB, free: 9.719 MB / 0.7637 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008034/1.16, allocations: 3.847 MB / 1.017 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/1.16, allocations: 12 kB / 1.017 GB, free: 7.086 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.5e-05/1.16, allocations: 20 kB / 1.017 GB, free: 7.066 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001955/1.162, allocations: 0.7288 MB / 1.018 GB, free: 6.332 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/1.164, allocations: 437.8 kB / 1.018 GB, free: 5.93 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/1.167, allocations: 2.751 MB / 1.021 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003721/1.17, allocations: 211.9 kB / 1.021 GB, free: 2.883 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000449/1.171, allocations: 156.2 kB / 1.021 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003913/1.175, allocations: 1.695 MB / 1.023 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002623/1.177, allocations: 1.719 MB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004599/1.182, allocations: 2.652 MB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.217e-05/1.182, allocations: 8 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.008296/1.19, allocations: 3.528 MB / 1.031 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/1.191, allocations: 19 kB / 1.031 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/1.191, allocations: 20 kB / 1.031 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003027/1.194, allocations: 0.8571 MB / 1.031 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/1.195, allocations: 413.2 kB / 1.032 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/1.215, allocations: 13.82 MB / 1.045 GB, free: 9.098 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003685/1.218, allocations: 202.6 kB / 1.045 GB, free: 8.902 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004707/1.219, allocations: 143.9 kB / 1.046 GB, free: 8.762 MB / 0.795 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.0007024/1.22, allocations: 294.5 kB / 1.046 GB, free: 8.492 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008523/1.22, allocations: 367.2 kB / 1.046 GB, free: 8.129 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00761/1.228, allocations: 2.736 MB / 1.049 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/1.228, allocations: 12 kB / 1.049 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/1.228, allocations: 4 kB / 1.049 GB, free: 5.379 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/1.228, allocations: 11.91 kB / 1.049 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/1.24, allocations: 4.922 MB / 1.054 GB, free: 424 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.24, allocations: 0 / 1.054 GB, free: 424 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/1.241, allocations: 246.3 kB / 1.054 GB, free: 188 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/1.242, allocations: 396.8 kB / 1.054 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/1.242, allocations: 43.95 kB / 1.054 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/1.244, allocations: 2.63 MB / 1.057 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.244, allocations: 4.031 kB / 1.057 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006282/1.251, allocations: 2.495 MB / 1.059 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002179/1.253, allocations: 0.5936 MB / 1.06 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005847/1.253, allocations: 24 kB / 1.06 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/1.255, allocations: 183.8 kB / 1.06 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/1.256, allocations: 103.9 kB / 1.06 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/1.256, allocations: 75.94 kB / 1.06 GB, free: 9.496 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.004061/1.26, allocations: 2.254 MB / 1.063 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.21e-07/1.26, allocations: 0 / 1.063 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00813/1.268, allocations: 1.805 MB / 1.064 GB, free: 5.43 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 (121): * Single equations (assignments): 107 * 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.002203/1.27, allocations: 0.7215 MB / 1.065 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01201/1.282, allocations: 4.685 MB / 1.07 GB, free: 160 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/1.282, allocations: 0 / 1.07 GB, free: 160 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002514/1.285, allocations: 0.9482 MB / 1.071 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008594/1.293, allocations: 1.767 MB / 1.072 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/1.306, allocations: 7.404 MB / 1.079 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/1.308, allocations: 2.25 MB / 1.082 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00489/1.313, allocations: 0.885 MB / 1.083 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007689/1.314, allocations: 279.3 kB / 1.083 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of SimCode: time 8.61e-07/1.314, allocations: 0 / 1.083 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of Templates: time 0.1467/1.461, allocations: 82.03 MB / 1.163 GB, free: 2.156 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (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)