Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.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.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3") translateModel(IBPSA.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.001551, allocations: 95.11 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.001706/0.001706, allocations: 190.9 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.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7586/0.7586, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001198, allocations: 59.91 kB / 0.4911 GB, free: 7.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3442, allocations: 77.92 MB / 0.5672 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example3): time 0.02814/0.3724, allocations: 33.16 MB / 0.5996 GB, free: 7.922 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02244/0.3948, allocations: 12.31 MB / 0.6116 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003114/0.398, allocations: 51.75 kB / 0.6116 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01421/0.4122, allocations: 3.98 MB / 0.6155 GB, free: 9.25 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009759/0.4221, allocations: 1.633 MB / 0.6171 GB, free: 7.609 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007155/0.4292, allocations: 1.437 MB / 0.6185 GB, free: 6.18 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01845/0.4477, allocations: 7.669 MB / 0.626 GB, free: 14.49 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005002/0.4527, allocations: 2.102 MB / 0.6281 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006449/0.4592, allocations: 1.863 MB / 0.6299 GB, free: 10.49 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003715/0.4629, allocations: 1.396 MB / 0.6312 GB, free: 9.09 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007562/0.4637, allocations: 144 kB / 0.6314 GB, free: 8.949 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006381/0.4701, allocations: 1.338 MB / 0.6327 GB, free: 7.609 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001439/0.4716, allocations: 0.5916 MB / 0.6333 GB, free: 7.016 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003111/0.4747, allocations: 1.193 MB / 0.6344 GB, free: 5.816 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009557/0.4843, allocations: 3.462 MB / 0.6378 GB, free: 2.344 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.4844, allocations: 0 / 0.6378 GB, free: 2.344 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.4844, allocations: 4 kB / 0.6378 GB, free: 2.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001188/0.4845, allocations: 0 / 0.6378 GB, free: 2.34 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.009763/0.4943, allocations: 2.792 MB / 0.6405 GB, free: 15.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.4944, allocations: 8.625 kB / 0.6405 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/0.4964, allocations: 440.6 kB / 0.641 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004454/0.5009, allocations: 2.63 MB / 0.6435 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.501, allocations: 82.28 kB / 0.6436 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.5012, allocations: 107.9 kB / 0.6437 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.5035, allocations: 1.32 MB / 0.645 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.5035, allocations: 3.938 kB / 0.645 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-05/0.5036, allocations: 44 kB / 0.6451 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.5037, allocations: 24 kB / 0.6451 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.5058, allocations: 1.022 MB / 0.6461 GB, free: 9.645 MB / 494.1 MB 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.008804/0.5146, allocations: 6.93 MB / 0.6528 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.516, allocations: 0.6055 MB / 0.6534 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007344/0.5167, allocations: 405.8 kB / 0.6538 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002728/0.5195, allocations: 1.751 MB / 0.6555 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007678/0.5203, allocations: 370.9 kB / 0.6559 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004522/0.5207, allocations: 99.17 kB / 0.656 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.254e-06/0.5207, allocations: 0.5469 kB / 0.656 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.003501/0.5242, allocations: 1.367 MB / 0.6573 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.5243, allocations: 59.39 kB / 0.6574 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002718/0.527, allocations: 2.372 MB / 0.6597 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.738e-05/0.5271, allocations: 41.7 kB / 0.6597 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008194/0.5279, allocations: 0.9996 MB / 0.6607 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.5281, allocations: 161.8 kB / 0.6609 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003654/0.5284, allocations: 294.6 kB / 0.6611 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5286, allocations: 357.9 kB / 0.6615 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009129/0.5295, allocations: 0.4939 MB / 0.662 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.5307, allocations: 0.9931 MB / 0.6629 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.5327, allocations: 1.347 MB / 0.6642 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.5327, allocations: 4 kB / 0.6643 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003221/0.5359, allocations: 1.807 MB / 0.666 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.536, allocations: 43.56 kB / 0.6661 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.536, allocations: 12 kB / 0.6661 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006472/0.5367, allocations: 187.2 kB / 0.6662 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008071/0.5375, allocations: 227.6 kB / 0.6665 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000652/0.5381, allocations: 0.763 MB / 0.6672 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.5393, allocations: 76.23 kB / 0.6673 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.242e-05/0.5394, allocations: 59.97 kB / 0.6673 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001535/0.5409, allocations: 1.026 MB / 0.6683 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001167/0.5421, allocations: 0.9695 MB / 0.6693 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001777/0.5439, allocations: 1.299 MB / 0.6706 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.402e-06/0.5439, allocations: 4 kB / 0.6706 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.002904/0.5468, allocations: 1.793 MB / 0.6723 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.5469, allocations: 33.7 kB / 0.6723 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.5469, allocations: 15.94 kB / 0.6724 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002747/0.5472, allocations: 133.4 kB / 0.6725 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007328/0.5479, allocations: 223.6 kB / 0.6727 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.5501, allocations: 2.333 MB / 0.675 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.5513, allocations: 92.34 kB / 0.6751 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.551e-05/0.5514, allocations: 51.98 kB / 0.6751 GB, free: 10.23 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.00033/0.5518, allocations: 260.8 kB / 0.6754 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/0.552, allocations: 213.2 kB / 0.6756 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/0.5544, allocations: 1.025 MB / 0.6766 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.5544, allocations: 7.938 kB / 0.6766 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.5545, allocations: 0 / 0.6766 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00166/0.5561, allocations: 0.9701 MB / 0.6775 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003992/0.5601, allocations: 2.308 MB / 0.6798 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5601, allocations: 3.938 kB / 0.6798 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/0.5606, allocations: 91.97 kB / 0.6799 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002774/0.5609, allocations: 126.6 kB / 0.68 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.561, allocations: 19.98 kB / 0.68 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00059/0.5616, allocations: 0.7435 MB / 0.6807 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5616, allocations: 0 / 0.6807 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.5641, allocations: 1.409 MB / 0.6821 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006027/0.5648, allocations: 358.2 kB / 0.6825 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.565, allocations: 12 kB / 0.6825 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007451/0.5657, allocations: 39.95 kB / 0.6825 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.5658, allocations: 44.31 kB / 0.6825 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.373e-05/0.5659, allocations: 28.05 kB / 0.6826 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002053/0.568, allocations: 1.611 MB / 0.6841 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.568, allocations: 3.938 kB / 0.6841 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002551/0.5705, allocations: 0.9479 MB / 0.6851 GB, free: 15.77 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001155/0.5717, allocations: 0.5136 MB / 0.6856 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003582/0.5753, allocations: 2.077 MB / 0.6876 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5753, allocations: 4.062 kB / 0.6876 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007517/0.5761, allocations: 350.1 kB / 0.6879 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003968/0.58, allocations: 0.9851 MB / 0.6889 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007691/0.5877, allocations: 3.692 MB / 0.6925 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/0.5892, allocations: 1.684 MB / 0.6942 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002119/0.5914, allocations: 0.5398 MB / 0.6947 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/0.5918, allocations: 155.4 kB / 0.6948 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/0.5918, allocations: 0 / 0.6948 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of Templates: time 0.06346/0.6552, allocations: 39.4 MB / 0.7333 GB, free: 14.81 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe 2>&1)