Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001768/0.001768, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.002011/0.002011, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 71.89 kB / 1.066 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9609/0.9631, allocations: 159.1 MB / 1.221 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.06663/1.03, allocations: 60.72 MB / 1.28 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02511/1.055, allocations: 14.67 MB / 1.295 GB, free: 6.734 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002877/1.058, allocations: 59.69 kB / 1.295 GB, free: 6.676 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002517/1.06, allocations: 0.7414 MB / 1.295 GB, free: 5.93 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006729/1.067, allocations: 2.359 MB / 1.298 GB, free: 3.562 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004787/1.072, allocations: 1.689 MB / 1.299 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005637/1.078, allocations: 4.059 MB / 1.303 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002112/1.08, allocations: 1.278 MB / 1.304 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003842/1.084, allocations: 1.626 MB / 1.306 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/1.086, allocations: 1.077 MB / 1.307 GB, free: 9.785 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004165/1.086, allocations: 132 kB / 1.307 GB, free: 9.656 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004065/1.09, allocations: 1.716 MB / 1.309 GB, free: 7.938 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005753/1.091, allocations: 346.7 kB / 1.309 GB, free: 7.598 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001629/1.092, allocations: 0.7854 MB / 1.31 GB, free: 6.809 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005586/1.098, allocations: 2.717 MB / 1.313 GB, free: 4.086 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.098, allocations: 4 kB / 1.313 GB, free: 4.082 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.793e-06/1.098, allocations: 0 / 1.313 GB, free: 4.082 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.4e-05/1.098, allocations: 0 / 1.313 GB, free: 4.082 MB / 1.029 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.00508/1.103, allocations: 1.841 MB / 1.314 GB, free: 2.188 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.103, allocations: 8.625 kB / 1.314 GB, free: 2.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008773/1.104, allocations: 159.2 kB / 1.315 GB, free: 2.023 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/1.108, allocations: 1.316 MB / 1.316 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.173e-05/1.108, allocations: 66 kB / 1.316 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/1.108, allocations: 87.98 kB / 1.316 GB, free: 0.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/1.11, allocations: 0.9553 MB / 1.317 GB, free: 15.5 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/1.11, allocations: 3.938 kB / 1.317 GB, free: 15.49 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.359e-05/1.11, allocations: 32 kB / 1.317 GB, free: 15.46 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/1.11, allocations: 35.98 kB / 1.317 GB, free: 15.43 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/1.112, allocations: 0.6597 MB / 1.318 GB, free: 14.77 MB / 1.045 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.007517/1.119, allocations: 5.232 MB / 1.323 GB, free: 9.121 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009496/1.12, allocations: 404.3 kB / 1.323 GB, free: 8.711 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004835/1.121, allocations: 242.1 kB / 1.323 GB, free: 8.473 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001539/1.122, allocations: 1.591 MB / 1.325 GB, free: 6.531 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/1.122, allocations: 39 kB / 1.325 GB, free: 6.484 MB / 1.045 GB Notification: Performance of pre-optimization done (n=53): time 4.759e-06/1.122, allocations: 3.984 kB / 1.325 GB, free: 6.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=53): time 0.002745/1.125, allocations: 0.929 MB / 1.326 GB, free: 5.527 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/1.125, allocations: 63.83 kB / 1.326 GB, free: 5.449 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/1.127, allocations: 1.004 MB / 1.327 GB, free: 4.43 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/1.127, allocations: 37.7 kB / 1.327 GB, free: 4.387 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004974/1.128, allocations: 0.5813 MB / 1.328 GB, free: 3.797 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/1.128, allocations: 189.2 kB / 1.328 GB, free: 3.609 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/1.128, allocations: 146.1 kB / 1.328 GB, free: 3.461 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.128, allocations: 326 kB / 1.328 GB, free: 3.137 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/1.129, allocations: 207.7 kB / 1.328 GB, free: 2.93 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005845/1.129, allocations: 404.9 kB / 1.329 GB, free: 2.457 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/1.13, allocations: 0.6217 MB / 1.329 GB, free: 1.762 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/1.13, allocations: 0 / 1.329 GB, free: 1.762 MB / 1.045 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00199/1.132, allocations: 0.8301 MB / 1.33 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.132, allocations: 4 kB / 1.33 GB, free: 0.918 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/1.132, allocations: 11.98 kB / 1.33 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005661/1.133, allocations: 113.2 kB / 1.33 GB, free: 0.793 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/1.133, allocations: 139.8 kB / 1.33 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006098/1.134, allocations: 0.5992 MB / 1.331 GB, free: 32 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007638/1.135, allocations: 83.27 kB / 1.331 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.572e-05/1.135, allocations: 35.98 kB / 1.331 GB, free: 15.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007018/1.136, allocations: 433.7 kB / 1.332 GB, free: 15.49 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005538/1.136, allocations: 400.9 kB / 1.332 GB, free: 15.02 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000918/1.137, allocations: 0.6256 MB / 1.333 GB, free: 14.31 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.511e-06/1.137, allocations: 4 kB / 1.333 GB, free: 14.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001838/1.139, allocations: 0.8222 MB / 1.333 GB, free: 13.47 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/1.139, allocations: 8.469 kB / 1.333 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/1.139, allocations: 12 kB / 1.333 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000505/1.139, allocations: 112.7 kB / 1.333 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/1.14, allocations: 139.8 kB / 1.334 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004832/1.14, allocations: 0.5953 MB / 1.334 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007117/1.141, allocations: 59.48 kB / 1.334 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.371e-05/1.141, allocations: 35.98 kB / 1.334 GB, free: 12.49 MB / 1.061 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.0002365/1.141, allocations: 231.9 kB / 1.335 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/1.142, allocations: 110.7 kB / 1.335 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/1.144, allocations: 1.063 MB / 1.336 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001554/1.146, allocations: 0.803 MB / 1.336 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/1.146, allocations: 3.938 kB / 1.336 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/1.146, allocations: 299.3 kB / 1.337 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/1.146, allocations: 16 kB / 1.337 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/1.147, allocations: 23.97 kB / 1.337 GB, free: 9.902 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/1.147, allocations: 56.48 kB / 1.337 GB, free: 9.848 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001984/1.149, allocations: 0.8785 MB / 1.338 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002122/1.151, allocations: 1.341 MB / 1.339 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005858/1.152, allocations: 348.8 kB / 1.339 GB, free: 7.254 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001303/1.153, allocations: 0.6843 MB / 1.34 GB, free: 6.562 MB / 1.061 GB Notification: Performance of Backend: time 3.51e-07/1.153, allocations: 0 / 1.34 GB, free: 6.562 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003864/1.157, allocations: 1.436 MB / 1.341 GB, free: 5.117 MB / 1.061 GB Notification: Performance of SimCode: time 0.005509/1.163, allocations: 2.947 MB / 1.344 GB, free: 2.117 MB / 1.061 GB Notification: Performance of Templates: time 0.05281/1.216, allocations: 29.88 MB / 1.373 GB, free: 4.547 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)