Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.44/1.44, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 178.6 kB / 327.3 MB, free: 2.18 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.4 MB / 0.5783 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007182/0.0007186, allocations: 92.03 kB / 0.6829 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003218, allocations: 9.219 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2034, allocations: 106.3 MB / 0.9008 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.07591/0.2794, allocations: 97.17 MB / 0.9957 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.05169/0.3311, allocations: 34.38 MB / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006804/0.338, allocations: 142.9 kB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005438/0.3434, allocations: 1.343 MB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01282/0.3563, allocations: 3.989 MB / 1.035 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009616/0.3659, allocations: 2.892 MB / 1.037 GB, free: 3.609 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0171/0.383, allocations: 10.75 MB / 1.048 GB, free: 8.832 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007231/0.3903, allocations: 2.633 MB / 1.051 GB, free: 6.148 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009411/0.3997, allocations: 3.166 MB / 1.054 GB, free: 2.969 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006237/0.406, allocations: 2.805 MB / 1.056 GB, free: 156 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.5812/0.9872, allocations: 163.1 kB / 1.057 GB, free: 17.21 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007444/0.9947, allocations: 1.781 MB / 1.058 GB, free: 17.21 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002232/0.997, allocations: 1.039 MB / 1.059 GB, free: 17.21 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00212/0.9992, allocations: 0.85 MB / 1.06 GB, free: 17.18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01076/1.01, allocations: 5.532 MB / 1.065 GB, free: 16.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.01, allocations: 0 / 1.065 GB, free: 16.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.445e-06/1.01, allocations: 0 / 1.065 GB, free: 16.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001733/1.01, allocations: 0 / 1.065 GB, free: 16.96 MB / 0.698 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.01442/1.025, allocations: 4.337 MB / 1.07 GB, free: 14.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/1.025, allocations: 9.688 kB / 1.07 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/1.036, allocations: 1.273 MB / 1.071 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01605/1.052, allocations: 4.112 MB / 1.075 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003246/1.052, allocations: 184.1 kB / 1.075 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009639/1.053, allocations: 235.3 kB / 1.075 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009093/1.062, allocations: 2.72 MB / 1.078 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.658e-05/1.062, allocations: 4.438 kB / 1.078 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003808/1.063, allocations: 86.81 kB / 1.078 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.735e-05/1.063, allocations: 50.66 kB / 1.078 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008025/1.071, allocations: 1.986 MB / 1.08 GB, free: 13.5 MB / 0.698 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.02538/1.096, allocations: 12.39 MB / 1.092 GB, free: 23.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005141/1.102, allocations: 1.588 MB / 1.094 GB, free: 23.31 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002399/1.104, allocations: 0.7515 MB / 1.095 GB, free: 23.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01035/1.114, allocations: 4.052 MB / 1.098 GB, free: 21.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/1.115, allocations: 48.09 kB / 1.099 GB, free: 21.37 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002273/1.117, allocations: 204 kB / 1.099 GB, free: 21.29 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=111): time 5.781e-06/1.117, allocations: 0 / 1.099 GB, free: 21.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111): time 0.01371/1.131, allocations: 3.123 MB / 1.102 GB, free: 20.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/1.131, allocations: 62.31 kB / 1.102 GB, free: 20.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007262/1.138, allocations: 3.347 MB / 1.105 GB, free: 20.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006364/1.139, allocations: 62.33 kB / 1.105 GB, free: 20.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001957/1.141, allocations: 1.76 MB / 1.107 GB, free: 19.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007261/1.141, allocations: 388.4 kB / 1.107 GB, free: 19.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/1.142, allocations: 34.5 kB / 1.107 GB, free: 19.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002301/1.142, allocations: 378.2 kB / 1.108 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003009/1.145, allocations: 0.849 MB / 1.108 GB, free: 19.17 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003446/1.148, allocations: 1.551 MB / 1.11 GB, free: 18.33 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003266/1.152, allocations: 0.9992 MB / 1.111 GB, free: 18.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-05/1.152, allocations: 9.828 kB / 1.111 GB, free: 18.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.01019/1.162, allocations: 2.899 MB / 1.114 GB, free: 17.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000435/1.162, allocations: 0.6298 MB / 1.114 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.766e-05/1.162, allocations: 21.81 kB / 1.114 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002516/1.165, allocations: 397.6 kB / 1.115 GB, free: 17.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003294/1.168, allocations: 428.6 kB / 1.115 GB, free: 17.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/1.172, allocations: 2.757 MB / 1.118 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005048/1.177, allocations: 204.3 kB / 1.118 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000653/1.177, allocations: 150.4 kB / 1.118 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.177, allocations: 3.031 kB / 1.118 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009927/1.187, allocations: 3.122 MB / 1.121 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-05/1.187, allocations: 17.19 kB / 1.121 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00402/1.191, allocations: 0.8585 MB / 1.122 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002666/1.194, allocations: 392.2 kB / 1.123 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02385/1.218, allocations: 12.43 MB / 1.135 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004825/1.223, allocations: 200.8 kB / 1.135 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005937/1.223, allocations: 132.8 kB / 1.135 GB, free: 8.418 MB / 0.7136 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 (203): * Single equations (assignments): 195 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.003325/1.227, allocations: 0.8602 MB / 1.136 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.228, allocations: 357.7 kB / 1.136 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009565/1.238, allocations: 2.697 MB / 1.139 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.682e-05/1.238, allocations: 19.98 kB / 1.139 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.238, allocations: 0 / 1.139 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/1.238, allocations: 18.38 kB / 1.139 GB, free: 7.199 MB / 0.7136 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.01528/1.253, allocations: 4.88 MB / 1.144 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/1.253, allocations: 0 / 1.144 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001927/1.255, allocations: 243.9 kB / 1.144 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/1.256, allocations: 396.4 kB / 1.144 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/1.257, allocations: 49.33 kB / 1.144 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002574/1.259, allocations: 2.629 MB / 1.147 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.259, allocations: 3.531 kB / 1.147 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008236/1.267, allocations: 2.428 MB / 1.149 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002406/1.27, allocations: 0.5901 MB / 1.15 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009184/1.271, allocations: 25.72 kB / 1.15 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003565/1.274, allocations: 198.2 kB / 1.15 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/1.275, allocations: 91.34 kB / 1.15 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/1.275, allocations: 74.97 kB / 1.15 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.005669/1.281, allocations: 2.22 MB / 1.152 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.81e-07/1.281, allocations: 3.938 kB / 1.152 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01128/1.292, allocations: 1.763 MB / 1.154 GB, free: 1.176 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002523/1.295, allocations: 0.6651 MB / 1.155 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01191/1.306, allocations: 4.085 MB / 1.159 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.307, allocations: 0.6875 kB / 1.159 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002668/1.309, allocations: 0.9053 MB / 1.16 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009093/1.318, allocations: 1.717 MB / 1.161 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/1.33, allocations: 7.172 MB / 1.168 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001935/1.332, allocations: 2.231 MB / 1.17 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/1.334, allocations: 291.2 kB / 1.171 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of SimCode: time 7.41e-07/1.334, allocations: 0 / 1.171 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of Templates: time 0.1575/1.491, allocations: 129.4 MB / 1.297 GB, free: 4.016 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)