Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|senTemIn.T|senTemOut.T|pip.v_nominal|pip.v",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|senTemIn.T|senTemOut.T|pip.v_nominal|pip.v",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 120 kB / 16.81 MB, free: 5.758 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.002133/0.002133, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.507/1.507, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 64.72 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3683, allocations: 168.7 MB / 1.262 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.06767/0.436, allocations: 61.17 MB / 1.322 GB, free: 15.58 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02266/0.4586, allocations: 14.71 MB / 1.336 GB, free: 0.832 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003096/0.4617, allocations: 63.62 kB / 1.336 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002897/0.4646, allocations: 0.7375 MB / 1.337 GB, free: 28 kB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00746/0.4721, allocations: 2.36 MB / 1.339 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005582/0.4777, allocations: 1.716 MB / 1.341 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006516/0.4842, allocations: 4.063 MB / 1.345 GB, free: 7.875 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002231/0.4864, allocations: 1.044 MB / 1.346 GB, free: 6.793 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004451/0.4909, allocations: 1.62 MB / 1.348 GB, free: 5.172 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/0.4933, allocations: 1.136 MB / 1.349 GB, free: 4.031 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000514/0.4938, allocations: 132 kB / 1.349 GB, free: 3.902 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004805/0.4986, allocations: 1.758 MB / 1.35 GB, free: 2.141 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006914/0.4993, allocations: 346.6 kB / 1.351 GB, free: 1.801 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001564/0.5008, allocations: 0.7893 MB / 1.352 GB, free: 1.008 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005457/0.5063, allocations: 2.729 MB / 1.354 GB, free: 14.27 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5063, allocations: 0 / 1.354 GB, free: 14.27 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.093e-06/0.5063, allocations: 0 / 1.354 GB, free: 14.27 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.179e-05/0.5063, allocations: 3.938 kB / 1.354 GB, free: 14.26 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003452/0.5098, allocations: 1.901 MB / 1.356 GB, free: 12.31 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.5098, allocations: 8.031 kB / 1.356 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005125/0.5103, allocations: 168 kB / 1.356 GB, free: 12.14 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.5127, allocations: 1.32 MB / 1.358 GB, free: 10.76 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.627e-05/0.5128, allocations: 66 kB / 1.358 GB, free: 10.7 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.5129, allocations: 84 kB / 1.358 GB, free: 10.61 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.5146, allocations: 0.9552 MB / 1.359 GB, free: 9.609 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.59e-05/0.5146, allocations: 15.89 kB / 1.359 GB, free: 9.594 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.48e-05/0.5147, allocations: 36 kB / 1.359 GB, free: 9.559 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/0.5148, allocations: 20 kB / 1.359 GB, free: 9.539 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.516, allocations: 0.6751 MB / 1.359 GB, free: 8.863 MB / 1.076 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.007004/0.523, allocations: 5.226 MB / 1.364 GB, free: 3.223 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008726/0.5238, allocations: 370.4 kB / 1.365 GB, free: 2.848 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.5244, allocations: 214.1 kB / 1.365 GB, free: 2.637 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001898/0.5263, allocations: 1.591 MB / 1.367 GB, free: 0.6953 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/0.5263, allocations: 39 kB / 1.367 GB, free: 0.6484 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 2.735e-06/0.5263, allocations: 0 / 1.367 GB, free: 0.6484 MB / 1.076 GB Notification: Performance of matching and sorting (n=53): time 0.002638/0.529, allocations: 0.9413 MB / 1.368 GB, free: 15.68 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.529, allocations: 63.84 kB / 1.368 GB, free: 15.6 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.5308, allocations: 1.001 MB / 1.369 GB, free: 14.59 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.401e-05/0.5309, allocations: 33.7 kB / 1.369 GB, free: 14.55 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005327/0.5314, allocations: 0.5902 MB / 1.369 GB, free: 13.95 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.5316, allocations: 194.3 kB / 1.369 GB, free: 13.76 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.5318, allocations: 146.2 kB / 1.369 GB, free: 13.61 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.532, allocations: 337.9 kB / 1.37 GB, free: 13.27 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.5324, allocations: 203.7 kB / 1.37 GB, free: 13.07 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/0.5329, allocations: 397 kB / 1.37 GB, free: 12.61 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.534, allocations: 0.6373 MB / 1.371 GB, free: 11.89 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.534, allocations: 0 / 1.371 GB, free: 11.89 MB / 1.092 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002127/0.5361, allocations: 0.8268 MB / 1.372 GB, free: 11.06 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.5361, allocations: 8 kB / 1.372 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/0.5362, allocations: 12.47 kB / 1.372 GB, free: 11.04 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/0.5367, allocations: 112.8 kB / 1.372 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.5372, allocations: 139.8 kB / 1.372 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006173/0.5378, allocations: 0.5992 MB / 1.373 GB, free: 10.16 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/0.5385, allocations: 79.44 kB / 1.373 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/0.5386, allocations: 35.98 kB / 1.373 GB, free: 10.05 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008381/0.5395, allocations: 437.7 kB / 1.373 GB, free: 9.621 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000662/0.5401, allocations: 397 kB / 1.374 GB, free: 9.152 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001076/0.5412, allocations: 0.6256 MB / 1.374 GB, free: 8.445 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.582e-06/0.5412, allocations: 7.984 kB / 1.374 GB, free: 8.438 MB / 1.092 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001996/0.5432, allocations: 0.835 MB / 1.375 GB, free: 7.594 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.5432, allocations: 8 kB / 1.375 GB, free: 7.586 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.5432, allocations: 11.94 kB / 1.375 GB, free: 7.574 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005092/0.5437, allocations: 108.8 kB / 1.375 GB, free: 7.465 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/0.5443, allocations: 143.8 kB / 1.375 GB, free: 7.324 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006423/0.5449, allocations: 0.5953 MB / 1.376 GB, free: 6.703 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006984/0.5456, allocations: 59.66 kB / 1.376 GB, free: 6.645 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.027e-05/0.5457, allocations: 39.92 kB / 1.376 GB, free: 6.605 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003582/0.546, allocations: 228.1 kB / 1.376 GB, free: 6.375 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.5463, allocations: 115.4 kB / 1.376 GB, free: 6.262 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/0.5486, allocations: 1.063 MB / 1.377 GB, free: 5.211 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001529/0.5501, allocations: 0.803 MB / 1.378 GB, free: 4.379 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/0.5501, allocations: 7.938 kB / 1.378 GB, free: 4.371 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006464/0.5507, allocations: 300 kB / 1.378 GB, free: 4.059 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.5509, allocations: 12 kB / 1.378 GB, free: 4.047 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005533/0.5515, allocations: 23.98 kB / 1.378 GB, free: 4.023 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.5516, allocations: 56.47 kB / 1.378 GB, free: 3.969 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001781/0.5534, allocations: 0.8824 MB / 1.379 GB, free: 3.074 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002163/0.5555, allocations: 1.35 MB / 1.381 GB, free: 1.707 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005242/0.5561, allocations: 304.8 kB / 1.381 GB, free: 1.406 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001254/0.5573, allocations: 0.6882 MB / 1.382 GB, free: 0.7109 MB / 1.092 GB Notification: Performance of Backend: time 2.3e-07/0.5573, allocations: 0 / 1.382 GB, free: 0.7109 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003688/0.561, allocations: 1.411 MB / 1.383 GB, free: 15.29 MB / 1.107 GB Notification: Performance of SimCode: time 0.005557/0.5666, allocations: 2.987 MB / 1.386 GB, free: 12.24 MB / 1.107 GB Notification: Performance of Templates: time 0.05672/0.6233, allocations: 30.33 MB / 1.416 GB, free: 14.23 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)