Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.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.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 100.9 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.001064/0.001064, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.349/1.349, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.734/1.734, allocations: 292.3 MB / 0.5495 GB, free: 17.75 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.001948/0.001948, allocations: 67.91 kB / 0.6721 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2338, allocations: 114.6 MB / 0.784 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.4389/0.6727, allocations: 72.61 MB / 0.8549 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0309/0.7037, allocations: 20.05 MB / 0.8745 GB, free: 2.855 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004566/0.7083, allocations: 97.5 kB / 0.8746 GB, free: 2.816 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003658/0.712, allocations: 1.003 MB / 0.8756 GB, free: 2.227 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007858/0.7199, allocations: 2.347 MB / 0.8779 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00752/0.7275, allocations: 2.057 MB / 0.8799 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01243/0.7399, allocations: 7.99 MB / 0.8877 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009839/0.7498, allocations: 6.1 MB / 0.8936 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008722/0.7586, allocations: 3.25 MB / 0.8968 GB, free: 4.906 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005574/0.7642, allocations: 2.493 MB / 0.8993 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.7656, allocations: 253.9 kB / 0.8995 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005443/0.7711, allocations: 1.373 MB / 0.9008 GB, free: 2.812 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001894/0.773, allocations: 0.7576 MB / 0.9016 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005071/0.7781, allocations: 1.759 MB / 0.9033 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009042/0.7871, allocations: 4.677 MB / 0.9079 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/0.7872, allocations: 3.984 kB / 0.9079 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.425e-06/0.7872, allocations: 0 / 0.9079 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001937/0.7874, allocations: 4 kB / 0.9079 GB, free: 11.91 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.009811/0.7972, allocations: 3.933 MB / 0.9117 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.7973, allocations: 8.031 kB / 0.9117 GB, free: 7.895 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002825/0.8001, allocations: 0.5446 MB / 0.9123 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006225/0.8064, allocations: 2.6 MB / 0.9148 GB, free: 4.684 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.8066, allocations: 139.8 kB / 0.9149 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006497/0.8072, allocations: 187.9 kB / 0.9151 GB, free: 4.363 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005177/0.8124, allocations: 2.326 MB / 0.9174 GB, free: 1.883 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.416e-05/0.8125, allocations: 3.938 kB / 0.9174 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003056/0.8128, allocations: 68 kB / 0.9174 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/0.8129, allocations: 40 kB / 0.9175 GB, free: 1.773 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004129/0.817, allocations: 1.865 MB / 0.9193 GB, free: 15.9 MB / 0.7169 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.01613/0.8332, allocations: 11.13 MB / 0.9302 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002843/0.8361, allocations: 1.35 MB / 0.9315 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.8377, allocations: 0.9976 MB / 0.9325 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006469/0.8442, allocations: 3.635 MB / 0.936 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/0.8457, allocations: 0.7702 MB / 0.9368 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0013/0.847, allocations: 230.9 kB / 0.937 GB, free: 13 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 6.282e-06/0.8471, allocations: 0 / 0.937 GB, free: 13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.01179/0.8589, allocations: 4.169 MB / 0.9411 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.8589, allocations: 60.41 kB / 0.9411 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004004/0.863, allocations: 2.859 MB / 0.9439 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002873/0.8633, allocations: 57.7 kB / 0.944 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.8645, allocations: 1.432 MB / 0.9454 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003684/0.8649, allocations: 343.1 kB / 0.9457 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004827/0.8654, allocations: 355.6 kB / 0.946 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.256e-05/0.8654, allocations: 309 kB / 0.9463 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.8668, allocations: 0.6809 MB / 0.947 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.8686, allocations: 1.429 MB / 0.9484 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002895/0.8715, allocations: 1.915 MB / 0.9503 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.8715, allocations: 4 kB / 0.9503 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005998/0.8775, allocations: 2.842 MB / 0.953 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/0.8776, allocations: 45.64 kB / 0.9531 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.8776, allocations: 12 kB / 0.9531 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/0.8799, allocations: 0.7014 MB / 0.9538 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.8812, allocations: 297 kB / 0.9541 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.883, allocations: 1.896 MB / 0.9559 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/0.885, allocations: 105 kB / 0.956 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.8852, allocations: 79.95 kB / 0.9561 GB, free: 8.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002223/0.8874, allocations: 1.273 MB / 0.9573 GB, free: 7.492 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001655/0.8891, allocations: 1.395 MB / 0.9587 GB, free: 5.746 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002635/0.8918, allocations: 1.82 MB / 0.9605 GB, free: 3.711 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.246e-06/0.8918, allocations: 4 kB / 0.9605 GB, free: 3.707 MB / 0.7481 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004878/0.8967, allocations: 2.701 MB / 0.9631 GB, free: 0.9648 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/0.8967, allocations: 37.7 kB / 0.9631 GB, free: 0.9219 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.8968, allocations: 12 kB / 0.9632 GB, free: 0.9102 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008668/0.8976, allocations: 477.4 kB / 0.9636 GB, free: 448 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.8987, allocations: 281.4 kB / 0.9639 GB, free: 164 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00667/0.9054, allocations: 6.328 MB / 0.9701 GB, free: 9.539 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.9076, allocations: 117.2 kB / 0.9702 GB, free: 9.43 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.9078, allocations: 79.97 kB / 0.9702 GB, free: 9.352 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004861/0.9083, allocations: 284.4 kB / 0.9705 GB, free: 9.07 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006064/0.9089, allocations: 296.2 kB / 0.9708 GB, free: 8.777 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004812/0.9137, allocations: 2.431 MB / 0.9732 GB, free: 6.344 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.9137, allocations: 19.94 kB / 0.9732 GB, free: 6.324 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.9137, allocations: 4 kB / 0.9732 GB, free: 6.32 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003333/0.9171, allocations: 2.061 MB / 0.9752 GB, free: 4.184 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007599/0.9247, allocations: 4.367 MB / 0.9795 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.9248, allocations: 0 / 0.9795 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008467/0.9256, allocations: 173.7 kB / 0.9796 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.9266, allocations: 485.3 kB / 0.9801 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-05/0.9267, allocations: 35.97 kB / 0.9801 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.9283, allocations: 1.845 MB / 0.9819 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.9284, allocations: 7.969 kB / 0.9819 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005593/0.934, allocations: 3.119 MB / 0.985 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/0.9353, allocations: 481.2 kB / 0.9855 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005171/0.9358, allocations: 23.94 kB / 0.9855 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.9371, allocations: 71.84 kB / 0.9855 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.9373, allocations: 76.89 kB / 0.9856 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.817e-05/0.9374, allocations: 43.97 kB / 0.9857 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002832/0.9402, allocations: 1.955 MB / 0.9876 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9402, allocations: 0 / 0.9876 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004052/0.9443, allocations: 1.345 MB / 0.9889 GB, free: 6.008 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00121/0.9455, allocations: 473.2 kB / 0.9893 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007109/0.9526, allocations: 3.417 MB / 0.9927 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.9527, allocations: 5.25 kB / 0.9927 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.9544, allocations: 0.7956 MB / 0.9935 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006445/0.9609, allocations: 1.264 MB / 0.9947 GB, free: 56 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009322/0.9702, allocations: 5.259 MB / 0.9998 GB, free: 10.76 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/0.9723, allocations: 2.053 MB / 1.002 GB, free: 8.68 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/0.9734, allocations: 223.3 kB / 1.002 GB, free: 8.461 MB / 0.795 GB Notification: Performance of SimCode: time 9.92e-07/0.9734, allocations: 0 / 1.002 GB, free: 8.461 MB / 0.795 GB Notification: Performance of Templates: time 0.1042/1.078, allocations: 75 MB / 1.075 GB, free: 13.8 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)