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.0007999/0.0007999, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008356/0.0008357, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.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.586/1.586, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0004893/0.0004894, allocations: 12.72 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2013, allocations: 116.3 MB / 0.7873 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.05485/0.2562, allocations: 66.85 MB / 0.8526 GB, free: 8.934 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02347/0.2797, allocations: 18.87 MB / 0.871 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/0.2823, allocations: 87.31 kB / 0.8711 GB, free: 5.945 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.2844, allocations: 0.6677 MB / 0.8717 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004703/0.2891, allocations: 1.932 MB / 0.8736 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00386/0.2929, allocations: 1.56 MB / 0.8751 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008164/0.3011, allocations: 9.032 MB / 0.8839 GB, free: 8.727 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006421/0.3076, allocations: 5.322 MB / 0.8891 GB, free: 3.363 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005543/0.3131, allocations: 2.68 MB / 0.8918 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003447/0.3166, allocations: 2.31 MB / 0.894 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000327/0.3169, allocations: 128 kB / 0.8941 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/0.3194, allocations: 1.018 MB / 0.8951 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005903/0.32, allocations: 0.6066 MB / 0.8957 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009272/0.321, allocations: 0.6484 MB / 0.8964 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.3241, allocations: 3.48 MB / 0.8998 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3241, allocations: 0 / 0.8998 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3241, allocations: 0 / 0.8998 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.743e-05/0.3242, allocations: 0 / 0.8998 GB, free: 8.457 MB / 0.7169 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.005935/0.3301, allocations: 3.862 MB / 0.9035 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3301, allocations: 11.97 kB / 0.9035 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/0.3319, allocations: 0.5697 MB / 0.9041 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003754/0.3357, allocations: 2.458 MB / 0.9065 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.3358, allocations: 139.8 kB / 0.9066 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/0.3361, allocations: 184 kB / 0.9068 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3939/0.73, allocations: 2.407 MB / 0.9092 GB, free: 118 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.406e-05/0.7301, allocations: 10.12 kB / 0.9092 GB, free: 118 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.7303, allocations: 65.27 kB / 0.9092 GB, free: 118 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.043e-05/0.7303, allocations: 40.94 kB / 0.9093 GB, free: 118 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004004/0.7344, allocations: 2.023 MB / 0.9112 GB, free: 118 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.01433/0.7487, allocations: 12.14 MB / 0.9231 GB, free: 110.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.7514, allocations: 1.561 MB / 0.9246 GB, free: 110 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.753, allocations: 1.094 MB / 0.9257 GB, free: 109.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006488/0.7595, allocations: 4.077 MB / 0.9297 GB, free: 107.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/0.7611, allocations: 0.8898 MB / 0.9305 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001573/0.7627, allocations: 451.6 kB / 0.931 GB, free: 106.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=96): time 3.026e-06/0.7627, allocations: 1.219 kB / 0.931 GB, free: 106.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=96): time 0.01467/0.7774, allocations: 5.199 MB / 0.936 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.7775, allocations: 62.25 kB / 0.9361 GB, free: 104.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003826/0.7813, allocations: 2.994 MB / 0.939 GB, free: 102.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002247/0.7816, allocations: 61.3 kB / 0.9391 GB, free: 102.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009668/0.7825, allocations: 1.425 MB / 0.9405 GB, free: 101.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.7828, allocations: 344.3 kB / 0.9408 GB, free: 101.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.227e-05/0.7829, allocations: 30.38 kB / 0.9408 GB, free: 101 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.228e-05/0.783, allocations: 360.3 kB / 0.9412 GB, free: 100.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.7843, allocations: 0.6932 MB / 0.9419 GB, free: 100.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.7858, allocations: 1.491 MB / 0.9433 GB, free: 98.96 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.7872, allocations: 0.9098 MB / 0.9442 GB, free: 98.47 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.7872, allocations: 3.375 kB / 0.9442 GB, free: 98.47 MB / 0.7169 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005951/0.7932, allocations: 2.947 MB / 0.9471 GB, free: 96.92 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.7934, allocations: 0.5378 MB / 0.9476 GB, free: 96.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.7934, allocations: 13.75 kB / 0.9476 GB, free: 96.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00252/0.7959, allocations: 0.78 MB / 0.9484 GB, free: 95.87 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.797, allocations: 307.3 kB / 0.9487 GB, free: 95.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.7991, allocations: 2.17 MB / 0.9508 GB, free: 94.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.8022, allocations: 247.6 kB / 0.951 GB, free: 94.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.8023, allocations: 78.88 kB / 0.9511 GB, free: 93.99 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.8023, allocations: 7.906 kB / 0.9511 GB, free: 93.99 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003888/0.8062, allocations: 2.305 MB / 0.9534 GB, free: 92.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.8063, allocations: 15.72 kB / 0.9534 GB, free: 92.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.8075, allocations: 0.5835 MB / 0.954 GB, free: 92.53 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009277/0.8085, allocations: 290.2 kB / 0.9542 GB, free: 92.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006264/0.8147, allocations: 6.5 MB / 0.9606 GB, free: 87.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/0.8174, allocations: 240.3 kB / 0.9608 GB, free: 87.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.8175, allocations: 68.33 kB / 0.9609 GB, free: 87.25 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001656/0.8192, allocations: 0.8233 MB / 0.9617 GB, free: 86.71 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003446/0.8195, allocations: 290.1 kB / 0.962 GB, free: 86.55 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/0.8234, allocations: 2.493 MB / 0.9644 GB, free: 84.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.8234, allocations: 8 kB / 0.9644 GB, free: 84.15 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.8234, allocations: 0 / 0.9644 GB, free: 84.15 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002864/0.8263, allocations: 2.19 MB / 0.9665 GB, free: 81.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 postOpt removeSimpleEquations (simulation): time 0.006133/0.8324, allocations: 4.709 MB / 0.9711 GB, free: 77.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.8325, allocations: 0 / 0.9711 GB, free: 77.14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006669/0.8331, allocations: 157.5 kB / 0.9713 GB, free: 76.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009333/0.8341, allocations: 0.5418 MB / 0.9718 GB, free: 76.44 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-05/0.8341, allocations: 27.94 kB / 0.9718 GB, free: 76.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.8355, allocations: 2.094 MB / 0.9739 GB, free: 74.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.8355, allocations: 0 / 0.9739 GB, free: 74.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004322/0.8399, allocations: 3.333 MB / 0.9771 GB, free: 70.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009594/0.8408, allocations: 0.5518 MB / 0.9777 GB, free: 70.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002627/0.8411, allocations: 20 kB / 0.9777 GB, free: 70.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.8425, allocations: 219.5 kB / 0.9779 GB, free: 70.11 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.8427, allocations: 64.89 kB / 0.978 GB, free: 70.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/0.8427, allocations: 39.94 kB / 0.978 GB, free: 70 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002171/0.8449, allocations: 2.052 MB / 0.98 GB, free: 67.96 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8449, allocations: 1.859 kB / 0.98 GB, free: 67.96 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003408/0.8483, allocations: 1.473 MB / 0.9814 GB, free: 66.51 MB / 0.7169 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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008151/0.8492, allocations: 442.5 kB / 0.9819 GB, free: 66.14 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00456/0.8537, allocations: 3.249 MB / 0.985 GB, free: 62.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.8538, allocations: 1.375 kB / 0.985 GB, free: 62.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.855, allocations: 0.8266 MB / 0.9859 GB, free: 62.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005678/0.8607, allocations: 1.553 MB / 0.9874 GB, free: 60.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00675/0.8674, allocations: 5.931 MB / 0.9932 GB, free: 54.52 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.8685, allocations: 2.033 MB / 0.9951 GB, free: 52.46 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002252/0.8707, allocations: 0.6717 MB / 0.9958 GB, free: 51.79 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004363/0.8712, allocations: 199.4 kB / 0.996 GB, free: 51.59 MB / 0.7169 GB Notification: Performance of SimCode: time 7.71e-07/0.8712, allocations: 0 / 0.996 GB, free: 51.59 MB / 0.7169 GB Notification: Performance of Templates: time 0.07495/0.9462, allocations: 57.39 MB / 1.052 GB, free: 10.92 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: