Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001297/0.001297, allocations: 106.1 kB / 16.27 MB, free: 6.418 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.001302/0.001302, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.32/1.32, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002432/0.002432, allocations: 294.2 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.178/1.178, allocations: 178.5 MB / 0.5079 GB, free: 12.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002688, allocations: 103.8 kB / 0.6071 GB, free: 9.293 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2029, allocations: 89.12 MB / 0.6941 GB, free: 88 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.3825/0.5855, allocations: 106.4 MB / 0.7981 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.05595/0.6414, allocations: 35.46 MB / 0.8327 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007572/0.6491, allocations: 163.4 kB / 0.8329 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.03115/0.6803, allocations: 18.58 MB / 0.851 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02189/0.7022, allocations: 5.388 MB / 0.8563 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01458/0.7168, allocations: 4.065 MB / 0.8602 GB, free: 296 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.05703/0.7739, allocations: 31.92 MB / 0.8914 GB, free: 332 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007637/0.7815, allocations: 3.581 MB / 0.8949 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.011/0.7926, allocations: 4.183 MB / 0.899 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006557/0.7992, allocations: 3.318 MB / 0.9022 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001659/0.8008, allocations: 452 kB / 0.9027 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00813/0.809, allocations: 2.976 MB / 0.9056 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002943/0.812, allocations: 1.916 MB / 0.9074 GB, free: 15.82 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.005314/0.8173, allocations: 3.063 MB / 0.9104 GB, free: 12.75 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01568/0.833, allocations: 9.225 MB / 0.9194 GB, free: 3.492 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.8331, allocations: 0 / 0.9194 GB, free: 3.492 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8331, allocations: 0 / 0.9194 GB, free: 3.492 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002564/0.8333, allocations: 0 / 0.9194 GB, free: 3.492 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 545 * Number of variables: 545 Notification: Performance of Generate backend data structure: time 0.01465/0.848, allocations: 6.393 MB / 0.9257 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.8481, allocations: 12.03 kB / 0.9257 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/0.8594, allocations: 1.912 MB / 0.9276 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01715/0.8766, allocations: 7.3 MB / 0.9347 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000368/0.877, allocations: 197.3 kB / 0.9349 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008666/0.8778, allocations: 248 kB / 0.9351 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007073/0.8849, allocations: 3.416 MB / 0.9384 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.885, allocations: 7.922 kB / 0.9384 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000258/0.8853, allocations: 88 kB / 0.9385 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/0.8853, allocations: 52 kB / 0.9386 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006945/0.8923, allocations: 2.584 MB / 0.9411 GB, free: 12.92 MB / 0.7012 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.02499/0.9173, allocations: 15.33 MB / 0.9561 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00627/0.9236, allocations: 2.437 MB / 0.9585 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002655/0.9263, allocations: 1.055 MB / 0.9595 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009626/0.9359, allocations: 5.407 MB / 0.9648 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.936, allocations: 43.56 kB / 0.9648 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=115): time 3.055e-06/0.936, allocations: 0 / 0.9648 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=115): time 0.01303/0.9491, allocations: 4.245 MB / 0.969 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.9492, allocations: 64.41 kB / 0.969 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/0.9592, allocations: 5.669 MB / 0.9746 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006365/0.9599, allocations: 69.64 kB / 0.9746 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002628/0.9625, allocations: 2.283 MB / 0.9769 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008494/0.9634, allocations: 422.2 kB / 0.9773 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001703/0.9651, allocations: 0.9192 MB / 0.9782 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.9652, allocations: 301.1 kB / 0.9784 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005208/0.9704, allocations: 2.91 MB / 0.9813 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2842/1.255, allocations: 3.785 MB / 0.985 GB, free: 223.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008314/1.263, allocations: 6.19 MB / 0.991 GB, free: 222.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-05/1.263, allocations: 8.422 kB / 0.991 GB, free: 222.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01128/1.274, allocations: 7.816 MB / 0.9987 GB, free: 219.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/1.274, allocations: 11.88 kB / 0.9987 GB, free: 219.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.361e-05/1.274, allocations: 18.66 kB / 0.9987 GB, free: 219.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/1.276, allocations: 0.9734 MB / 0.9996 GB, free: 219.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/1.279, allocations: 0.6835 MB / 1 GB, free: 219.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/1.281, allocations: 2.962 MB / 1.003 GB, free: 217.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004156/1.285, allocations: 482.5 kB / 1.004 GB, free: 217 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004011/1.285, allocations: 228.6 kB / 1.004 GB, free: 217 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004828/1.29, allocations: 3.519 MB / 1.007 GB, free: 215.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003805/1.294, allocations: 3.319 MB / 1.011 GB, free: 213.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00775/1.302, allocations: 5.237 MB / 1.016 GB, free: 211.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.113e-05/1.302, allocations: 6.844 kB / 1.016 GB, free: 211.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01184/1.314, allocations: 6.934 MB / 1.022 GB, free: 208.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/1.314, allocations: 12.72 kB / 1.022 GB, free: 208.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.123e-05/1.314, allocations: 22.44 kB / 1.022 GB, free: 208.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/1.317, allocations: 1.094 MB / 1.024 GB, free: 208.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/1.319, allocations: 0.6467 MB / 1.024 GB, free: 208.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/1.337, allocations: 16.54 MB / 1.04 GB, free: 198 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004195/1.341, allocations: 386.1 kB / 1.041 GB, free: 197.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004376/1.342, allocations: 185.2 kB / 1.041 GB, free: 197.9 MB / 0.7325 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 (339): * Single equations (assignments): 327 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * 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.0007058/1.342, allocations: 344.8 kB / 1.041 GB, free: 197.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/1.343, allocations: 494.8 kB / 1.042 GB, free: 197.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008674/1.352, allocations: 3.56 MB / 1.045 GB, free: 196.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/1.352, allocations: 17.81 kB / 1.045 GB, free: 196.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.352, allocations: 7.188 kB / 1.045 GB, free: 196.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/1.352, allocations: 7.047 kB / 1.045 GB, free: 196.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/1.366, allocations: 6.521 MB / 1.052 GB, free: 193.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.547e-06/1.366, allocations: 0 / 1.052 GB, free: 193.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/1.367, allocations: 314.2 kB / 1.052 GB, free: 193.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/1.368, allocations: 465.8 kB / 1.052 GB, free: 193.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/1.368, allocations: 51.52 kB / 1.052 GB, free: 193.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/1.37, allocations: 2.812 MB / 1.055 GB, free: 191.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.37, allocations: 1.625 kB / 1.055 GB, free: 191.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00791/1.378, allocations: 3.286 MB / 1.058 GB, free: 189.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002236/1.38, allocations: 0.817 MB / 1.059 GB, free: 189.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/1.381, allocations: 23.47 kB / 1.059 GB, free: 189.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00278/1.384, allocations: 159.9 kB / 1.059 GB, free: 189.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/1.384, allocations: 101.2 kB / 1.059 GB, free: 189.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/1.385, allocations: 94.47 kB / 1.059 GB, free: 189.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.006836/1.391, allocations: 3.747 MB / 1.063 GB, free: 187.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.31e-07/1.391, allocations: 0 / 1.063 GB, free: 187.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007348/1.399, allocations: 2.398 MB / 1.065 GB, free: 187.5 MB / 0.7325 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.002122/1.401, allocations: 0.947 MB / 1.066 GB, free: 186.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01558/1.417, allocations: 8.494 MB / 1.075 GB, free: 179.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/1.417, allocations: 0 / 1.075 GB, free: 179.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003117/1.42, allocations: 1.222 MB / 1.076 GB, free: 178.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/1.43, allocations: 2.539 MB / 1.078 GB, free: 176.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/1.444, allocations: 8.944 MB / 1.087 GB, free: 168 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002035/1.446, allocations: 2.907 MB / 1.09 GB, free: 165.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001621/1.448, allocations: 419.4 kB / 1.09 GB, free: 165.4 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/1.448, allocations: 0 / 1.09 GB, free: 165.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.1537/1.602, allocations: 177.5 MB / 1.264 GB, free: 5.387 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)