Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00152/0.00152, allocations: 97.39 kB / 16.26 MB, free: 5.934 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.001928/0.001929, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.785/0.785, allocations: 122.9 MB / 413.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 67.91 kB / 0.4911 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3985, allocations: 77.93 MB / 0.5672 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.09929/0.4979, allocations: 106.4 MB / 0.6711 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.05677/0.5547, allocations: 35.46 MB / 0.7058 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009267/0.564, allocations: 163.1 kB / 0.7059 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.03181/0.5959, allocations: 18.57 MB / 0.7241 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01826/0.6142, allocations: 5.385 MB / 0.7293 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01194/0.6262, allocations: 4.06 MB / 0.7333 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.4/1.026, allocations: 31.92 MB / 0.7645 GB, free: 35.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006599/1.033, allocations: 3.58 MB / 0.768 GB, free: 34.99 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01193/1.045, allocations: 4.172 MB / 0.772 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007285/1.052, allocations: 3.322 MB / 0.7753 GB, free: 34.42 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002051/1.054, allocations: 457.8 kB / 0.7757 GB, free: 34.42 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009319/1.064, allocations: 2.974 MB / 0.7786 GB, free: 34.42 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003032/1.067, allocations: 1.915 MB / 0.7805 GB, free: 34.19 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006685/1.073, allocations: 3.062 MB / 0.7835 GB, free: 33.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01733/1.091, allocations: 9.225 MB / 0.7925 GB, free: 32.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/1.091, allocations: 0 / 0.7925 GB, free: 32.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/1.091, allocations: 0 / 0.7925 GB, free: 32.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003383/1.091, allocations: 0 / 0.7925 GB, free: 32.18 MB / 0.5762 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.01605/1.107, allocations: 6.395 MB / 0.7987 GB, free: 28.83 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/1.107, allocations: 11.06 kB / 0.7987 GB, free: 28.83 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/1.12, allocations: 1.908 MB / 0.8006 GB, free: 27.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01973/1.14, allocations: 7.31 MB / 0.8077 GB, free: 25.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003635/1.14, allocations: 198.4 kB / 0.8079 GB, free: 25.17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/1.141, allocations: 243.2 kB / 0.8082 GB, free: 25.17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006365/1.148, allocations: 3.413 MB / 0.8115 GB, free: 23.67 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/1.148, allocations: 7 kB / 0.8115 GB, free: 23.67 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002501/1.148, allocations: 88 kB / 0.8116 GB, free: 23.65 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/1.148, allocations: 55.94 kB / 0.8116 GB, free: 23.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006107/1.154, allocations: 2.587 MB / 0.8142 GB, free: 21.77 MB / 0.5762 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.02637/1.18, allocations: 15.32 MB / 0.8291 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005915/1.186, allocations: 2.436 MB / 0.8315 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002379/1.189, allocations: 1.058 MB / 0.8325 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008795/1.198, allocations: 5.396 MB / 0.8378 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/1.198, allocations: 43.56 kB / 0.8379 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=115): time 3.636e-06/1.198, allocations: 3.844 kB / 0.8379 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=115): time 0.01362/1.211, allocations: 4.25 MB / 0.842 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/1.211, allocations: 71.72 kB / 0.8421 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01449/1.226, allocations: 5.673 MB / 0.8476 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001021/1.227, allocations: 61.7 kB / 0.8477 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003302/1.23, allocations: 2.288 MB / 0.8499 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001032/1.231, allocations: 420.7 kB / 0.8503 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003019/1.234, allocations: 0.9109 MB / 0.8512 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.235, allocations: 301.1 kB / 0.8515 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005583/1.24, allocations: 2.914 MB / 0.8543 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006688/1.247, allocations: 3.789 MB / 0.858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/1.258, allocations: 6.184 MB / 0.8641 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.704e-05/1.258, allocations: 4 kB / 0.8641 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01743/1.276, allocations: 7.819 MB / 0.8717 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/1.276, allocations: 16 kB / 0.8717 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.305e-05/1.276, allocations: 16 kB / 0.8717 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002383/1.278, allocations: 0.9841 MB / 0.8727 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/1.282, allocations: 0.6824 MB / 0.8734 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/1.285, allocations: 2.955 MB / 0.8763 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005404/1.29, allocations: 482.2 kB / 0.8767 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007896/1.291, allocations: 219.9 kB / 0.8769 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007742/1.299, allocations: 3.529 MB / 0.8804 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005778/1.304, allocations: 3.314 MB / 0.8836 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009852/1.314, allocations: 5.236 MB / 0.8887 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.79e-05/1.314, allocations: 4 kB / 0.8887 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01756/1.332, allocations: 6.94 MB / 0.8955 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/1.332, allocations: 12 kB / 0.8955 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.34e-05/1.332, allocations: 16 kB / 0.8955 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003475/1.336, allocations: 1.085 MB / 0.8966 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003319/1.339, allocations: 0.65 MB / 0.8972 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02327/1.362, allocations: 16.57 MB / 0.9134 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005401/1.368, allocations: 371.7 kB / 0.9138 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008808/1.368, allocations: 191.9 kB / 0.9139 GB, free: 1.117 MB / 0.6544 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.001212/1.37, allocations: 339.7 kB / 0.9143 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001674/1.371, allocations: 493.3 kB / 0.9147 GB, free: 340 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/1.382, allocations: 3.555 MB / 0.9182 GB, free: 12.81 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.782e-05/1.382, allocations: 19.28 kB / 0.9182 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.382, allocations: 3.984 kB / 0.9182 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-05/1.382, allocations: 3.984 kB / 0.9182 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02022/1.403, allocations: 6.526 MB / 0.9246 GB, free: 6.234 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/1.403, allocations: 3.938 kB / 0.9246 GB, free: 6.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/1.405, allocations: 317.6 kB / 0.9249 GB, free: 5.93 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/1.406, allocations: 455.2 kB / 0.9253 GB, free: 5.48 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003217/1.407, allocations: 55.94 kB / 0.9254 GB, free: 5.426 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/1.409, allocations: 2.802 MB / 0.9281 GB, free: 2.527 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.409, allocations: 4.031 kB / 0.9281 GB, free: 2.523 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009194/1.418, allocations: 3.285 MB / 0.9313 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002896/1.421, allocations: 0.8179 MB / 0.9321 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001756/1.423, allocations: 20 kB / 0.9322 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003829/1.427, allocations: 159.8 kB / 0.9323 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/1.427, allocations: 97.19 kB / 0.9324 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002491/1.427, allocations: 99.92 kB / 0.9325 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.008293/1.436, allocations: 3.747 MB / 0.9362 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.91e-07/1.436, allocations: 0 / 0.9362 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01043/1.446, allocations: 2.394 MB / 0.9385 GB, free: 7.855 MB / 0.6856 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.002594/1.449, allocations: 0.934 MB / 0.9394 GB, free: 7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01862/1.468, allocations: 8.486 MB / 0.9477 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.468, allocations: 0 / 0.9477 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003537/1.471, allocations: 1.229 MB / 0.9489 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01297/1.484, allocations: 2.534 MB / 0.9514 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/1.502, allocations: 8.789 MB / 0.96 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00297/1.505, allocations: 2.957 MB / 0.9628 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.007053/1.512, allocations: 1.382 MB / 0.9642 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/1.513, allocations: 386.4 kB / 0.9646 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of SimCode: time 8.52e-07/1.513, allocations: 0 / 0.9646 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of Templates: time 0.4967/2.01, allocations: 114.3 MB / 1.076 GB, free: 303 MB / 0.7637 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)