Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.575/1.575, allocations: 287.4 MB / 303.2 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009847/0.0009848, allocations: 183.4 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008023/0.0008023, allocations: 98.67 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004911/0.0004911, allocations: 14.44 kB / 0.8667 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2302, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.1078/0.3381, allocations: 74.43 MB / 1.052 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.3869/0.725, allocations: 20.96 MB / 1.072 GB, free: 18.16 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003406/0.7284, allocations: 92.09 kB / 1.072 GB, free: 18.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003003/0.7315, allocations: 0.8121 MB / 1.073 GB, free: 18.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006608/0.7381, allocations: 2.269 MB / 1.076 GB, free: 18.09 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007898/0.746, allocations: 2.827 MB / 1.078 GB, free: 18 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.02005/0.7661, allocations: 17.56 MB / 1.095 GB, free: 17.06 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008722/0.7748, allocations: 5.956 MB / 1.101 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01053/0.7854, allocations: 4.627 MB / 1.106 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008146/0.7936, allocations: 4.58 MB / 1.11 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001854/0.7954, allocations: 262.9 kB / 1.11 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006269/0.8017, allocations: 1.333 MB / 1.112 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002629/0.8044, allocations: 1.218 MB / 1.113 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003337/0.8077, allocations: 1.109 MB / 1.114 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009648/0.8174, allocations: 6.88 MB / 1.121 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.8174, allocations: 1.031 kB / 1.121 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8175, allocations: 4 kB / 1.121 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003263/0.8178, allocations: 0 / 1.121 GB, free: 10.89 MB / 0.6823 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.01384/0.8316, allocations: 5.365 MB / 1.126 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.8317, allocations: 8.844 kB / 1.126 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004951/0.8367, allocations: 0.8353 MB / 1.127 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.8482, allocations: 5.208 MB / 1.132 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.8484, allocations: 257.1 kB / 1.132 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001402/0.8499, allocations: 339.1 kB / 1.132 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/0.8617, allocations: 5.733 MB / 1.138 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.356e-05/0.8618, allocations: 7.219 kB / 1.138 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005853/0.8624, allocations: 146.2 kB / 1.138 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.695e-05/0.8625, allocations: 83.03 kB / 1.138 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008273/0.8707, allocations: 5.56 MB / 1.144 GB, free: 1.988 MB / 0.6823 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.03582/0.9066, allocations: 24 MB / 1.167 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005257/0.9119, allocations: 2.807 MB / 1.17 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003165/0.9151, allocations: 1.926 MB / 1.172 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01415/0.9293, allocations: 7.142 MB / 1.179 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003349/0.9327, allocations: 1.95 MB / 1.181 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004856/0.9375, allocations: 1.242 MB / 1.182 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=155): time 9.188e-06/0.9376, allocations: 4 kB / 1.182 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=155): time 0.02235/0.9599, allocations: 7.655 MB / 1.189 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/0.96, allocations: 149.8 kB / 1.19 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009502/0.9696, allocations: 4.848 MB / 1.194 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0008758/0.9705, allocations: 65.7 kB / 1.194 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003095/0.9736, allocations: 2.449 MB / 1.197 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.00113/0.9747, allocations: 0.5534 MB / 1.197 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000433/0.9752, allocations: 55.44 kB / 1.197 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002423/0.9754, allocations: 411.4 kB / 1.198 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003211/0.9787, allocations: 1.664 MB / 1.199 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00393/0.9826, allocations: 2.895 MB / 1.202 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006816/0.9894, allocations: 4.554 MB / 1.207 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.391e-05/0.9895, allocations: 8 kB / 1.207 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01149/1.001, allocations: 6.022 MB / 1.212 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007546/1.002, allocations: 1.104 MB / 1.214 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.606e-05/1.002, allocations: 36 kB / 1.214 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06924/1.071, allocations: 11.86 MB / 1.225 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00316/1.074, allocations: 0.663 MB / 1.226 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008666/1.083, allocations: 5.048 MB / 1.231 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005255/1.088, allocations: 354.4 kB / 1.231 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005934/1.089, allocations: 162.5 kB / 1.231 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/1.089, allocations: 7.938 kB / 1.231 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009492/1.098, allocations: 5.365 MB / 1.236 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.318e-05/1.098, allocations: 39.94 kB / 1.237 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06942/1.168, allocations: 11.67 MB / 1.248 GB, free: 8.496 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/1.171, allocations: 0.6532 MB / 1.249 GB, free: 7.844 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/1.183, allocations: 8.063 MB / 1.256 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00486/1.188, allocations: 327.9 kB / 1.257 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004199/1.188, allocations: 159.9 kB / 1.257 GB, free: 15 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.003125/1.191, allocations: 1.546 MB / 1.258 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.193, allocations: 466.3 kB / 1.259 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008202/1.201, allocations: 4.868 MB / 1.264 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01874/1.219, allocations: 6.986 MB / 1.27 GB, free: 0.8633 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/1.22, allocations: 3.938 kB / 1.27 GB, free: 0.8594 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003671/1.223, allocations: 1.08 MB / 1.272 GB, free: 15.76 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001247/1.224, allocations: 28 kB / 1.272 GB, free: 15.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003635/1.228, allocations: 271.3 kB / 1.272 GB, free: 15.46 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003846/1.229, allocations: 133.1 kB / 1.272 GB, free: 15.33 MB / 0.823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01187/1.24, allocations: 5.391 MB / 1.277 GB, free: 9.934 MB / 0.823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009766/1.25, allocations: 6.094 MB / 1.283 GB, free: 3.812 MB / 0.823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002835/1.253, allocations: 1.962 MB / 1.285 GB, free: 1.852 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.005195/1.258, allocations: 3.306 MB / 1.288 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of Backend: time 5.51e-07/1.258, allocations: 3.938 kB / 1.288 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01687/1.275, allocations: 6.206 MB / 1.294 GB, free: 8.355 MB / 0.8386 GB Notification: Performance of SimCode: time 0.02385/1.299, allocations: 12.91 MB / 1.307 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of Templates: time 0.1625/1.462, allocations: 111.1 MB / 1.415 GB, free: 12.96 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)