Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.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.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 110.6 kB / 16.38 MB, free: 6.023 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.001013/0.001013, allocations: 192.5 kB / 17.31 MB, free: 5.617 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.359/1.359, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.767/1.767, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001413/0.001413, allocations: 67.91 kB / 0.6729 GB, free: 5.906 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2221, allocations: 114.6 MB / 0.7848 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.4024/0.6246, allocations: 80.85 MB / 0.8637 GB, free: 10.79 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03283/0.6574, allocations: 22.27 MB / 0.8855 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003815/0.6613, allocations: 111.9 kB / 0.8856 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003023/0.6644, allocations: 1.195 MB / 0.8868 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006467/0.6709, allocations: 2.762 MB / 0.8895 GB, free: 7.512 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008857/0.6797, allocations: 3.808 MB / 0.8932 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01545/0.6952, allocations: 15.48 MB / 0.9083 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008366/0.7036, allocations: 7.208 MB / 0.9153 GB, free: 4.695 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01112/0.7147, allocations: 5.849 MB / 0.9211 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007803/0.7225, allocations: 5.039 MB / 0.926 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001195/0.7238, allocations: 0.5391 MB / 0.9265 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005483/0.7293, allocations: 1.935 MB / 0.9284 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00214/0.7314, allocations: 1.62 MB / 0.93 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.006181/0.7376, allocations: 3.286 MB / 0.9332 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.7485, allocations: 9.157 MB / 0.9421 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.7485, allocations: 0 / 0.9421 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7485, allocations: 0 / 0.9421 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001123/0.7486, allocations: 0 / 0.9421 GB, free: 9.23 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.01093/0.7596, allocations: 6.472 MB / 0.9484 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.7596, allocations: 8.75 kB / 0.9485 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003235/0.7628, allocations: 0.8168 MB / 0.9493 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008738/0.7716, allocations: 5.269 MB / 0.9544 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.7718, allocations: 262.5 kB / 0.9546 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005445/0.7724, allocations: 344 kB / 0.955 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008459/0.7808, allocations: 5.729 MB / 0.9606 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.08e-05/0.7809, allocations: 19.81 kB / 0.9606 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003989/0.7813, allocations: 144 kB / 0.9607 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.867e-05/0.7814, allocations: 80 kB / 0.9608 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008448/0.7898, allocations: 5.511 MB / 0.9662 GB, free: 144 kB / 0.7481 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.0325/0.8223, allocations: 23.66 MB / 0.9893 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004653/0.827, allocations: 2.74 MB / 0.992 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00271/0.8298, allocations: 1.886 MB / 0.9938 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/0.8416, allocations: 7.085 MB / 1.001 GB, free: 11.36 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003153/0.8448, allocations: 1.91 MB / 1.003 GB, free: 9.441 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003212/0.848, allocations: 0.7119 MB / 1.003 GB, free: 8.727 MB / 0.795 GB Notification: Performance of pre-optimization done (n=154): time 9.277e-06/0.848, allocations: 0 / 1.003 GB, free: 8.727 MB / 0.795 GB Notification: Performance of matching and sorting (n=154): time 0.02523/0.8733, allocations: 8.02 MB / 1.011 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/0.8734, allocations: 153.8 kB / 1.011 GB, free: 484 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007174/0.8806, allocations: 4.966 MB / 1.016 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.000365/0.881, allocations: 65.7 kB / 1.016 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.002143/0.8831, allocations: 2.439 MB / 1.019 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006592/0.8838, allocations: 0.5471 MB / 1.019 GB, free: 8.43 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/0.8848, allocations: 0.6727 MB / 1.02 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.893e-05/0.8849, allocations: 309.1 kB / 1.02 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002762/0.8877, allocations: 1.735 MB / 1.022 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003561/0.8912, allocations: 2.944 MB / 1.025 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006436/0.8977, allocations: 4.699 MB / 1.029 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/0.8977, allocations: 8 kB / 1.029 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01147/0.9092, allocations: 6.347 MB / 1.035 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/0.9093, allocations: 49.95 kB / 1.035 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.082e-05/0.9093, allocations: 39.92 kB / 1.035 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08306/0.9924, allocations: 13.54 MB / 1.049 GB, free: 9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/0.9953, allocations: 0.6396 MB / 1.049 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/1.006, allocations: 5.477 MB / 1.055 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004228/1.01, allocations: 216.2 kB / 1.055 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005244/1.011, allocations: 195.8 kB / 1.055 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005172/1.016, allocations: 2.968 MB / 1.058 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003688/1.019, allocations: 2.878 MB / 1.061 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006242/1.026, allocations: 4.574 MB / 1.065 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.732e-05/1.026, allocations: 12 kB / 1.065 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.01023/1.036, allocations: 6.029 MB / 1.071 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.638e-05/1.036, allocations: 51.25 kB / 1.071 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-05/1.036, allocations: 32 kB / 1.071 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07798/1.114, allocations: 13.31 MB / 1.084 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003271/1.117, allocations: 0.6359 MB / 1.085 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/1.132, allocations: 8.924 MB / 1.094 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004459/1.136, allocations: 232.9 kB / 1.094 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006068/1.137, allocations: 191.8 kB / 1.094 GB, free: 9.156 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 278 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(11,15), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0009686/1.138, allocations: 367.3 kB / 1.094 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/1.14, allocations: 458.3 kB / 1.095 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009031/1.149, allocations: 4.538 MB / 1.099 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01019/1.159, allocations: 5.546 MB / 1.105 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/1.159, allocations: 0 / 1.105 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002889/1.162, allocations: 0.9169 MB / 1.106 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/1.163, allocations: 32 kB / 1.106 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003188/1.166, allocations: 143.7 kB / 1.106 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/1.166, allocations: 129.8 kB / 1.106 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0114/1.178, allocations: 4.759 MB / 1.11 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009401/1.187, allocations: 5.937 MB / 1.116 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002637/1.19, allocations: 1.85 MB / 1.118 GB, free: 132 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.005609/1.196, allocations: 3.407 MB / 1.121 GB, free: 12.74 MB / 0.92 GB Notification: Performance of Backend: time 6.61e-07/1.196, allocations: 0 / 1.121 GB, free: 12.74 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01929/1.215, allocations: 6.438 MB / 1.128 GB, free: 6.254 MB / 0.92 GB Notification: Performance of SimCode: time 0.323/1.538, allocations: 11.65 MB / 1.139 GB, free: 290.5 MB / 0.92 GB Notification: Performance of Templates: time 0.1574/1.695, allocations: 117.3 MB / 1.254 GB, free: 220.1 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)