Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001773/0.001773, allocations: 112.1 kB / 16.42 MB, free: 6.445 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.002055/0.002055, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.59/1.59, 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 10.1.1-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 67.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.048, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.08017/1.129, allocations: 60.73 MB / 1.227 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02476/1.154, allocations: 14.67 MB / 1.241 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003298/1.157, allocations: 63.62 kB / 1.241 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002835/1.16, allocations: 0.7336 MB / 1.242 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007855/1.168, allocations: 2.364 MB / 1.244 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005481/1.173, allocations: 1.695 MB / 1.246 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007055/1.18, allocations: 4.051 MB / 1.25 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002775/1.183, allocations: 1.274 MB / 1.251 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004957/1.188, allocations: 1.614 MB / 1.252 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002453/1.191, allocations: 1.097 MB / 1.254 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005808/1.191, allocations: 132 kB / 1.254 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005356/1.197, allocations: 1.708 MB / 1.255 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006691/1.197, allocations: 342.8 kB / 1.256 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001781/1.199, allocations: 0.7893 MB / 1.256 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006314/1.205, allocations: 2.709 MB / 1.259 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.205, allocations: 0 / 1.259 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.325e-06/1.205, allocations: 8 kB / 1.259 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.653e-05/1.205, allocations: 0 / 1.259 GB, free: 5.551 MB / 0.9825 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.004933/1.21, allocations: 1.845 MB / 1.261 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/1.21, allocations: 8.922 kB / 1.261 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005885/1.211, allocations: 159.2 kB / 1.261 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/1.214, allocations: 1.313 MB / 1.262 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/1.214, allocations: 62 kB / 1.262 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/1.214, allocations: 91.94 kB / 1.262 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/1.216, allocations: 0.9592 MB / 1.263 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/1.216, allocations: 0 / 1.263 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.429e-05/1.216, allocations: 36 kB / 1.263 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.592e-05/1.216, allocations: 24 kB / 1.263 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/1.217, allocations: 0.6713 MB / 1.264 GB, free: 240 kB / 0.9825 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.006417/1.223, allocations: 5.232 MB / 1.269 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007758/1.224, allocations: 404.3 kB / 1.27 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004084/1.225, allocations: 245.8 kB / 1.27 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/1.226, allocations: 1.583 MB / 1.271 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/1.226, allocations: 47 kB / 1.271 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=53): time 3.948e-06/1.226, allocations: 0 / 1.271 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=53): time 0.002472/1.229, allocations: 0.9367 MB / 1.272 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/1.229, allocations: 55.84 kB / 1.272 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/1.23, allocations: 1.005 MB / 1.273 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.021e-05/1.231, allocations: 37.7 kB / 1.273 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005692/1.231, allocations: 0.5775 MB / 1.274 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/1.231, allocations: 197.2 kB / 1.274 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/1.232, allocations: 138.2 kB / 1.274 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.232, allocations: 334 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004247/1.232, allocations: 203.7 kB / 1.275 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006128/1.233, allocations: 404.9 kB / 1.275 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/1.234, allocations: 0.6217 MB / 1.276 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/1.234, allocations: 4 kB / 1.276 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001888/1.236, allocations: 0.8301 MB / 1.277 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/1.236, allocations: 8 kB / 1.277 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/1.236, allocations: 11.98 kB / 1.277 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006098/1.236, allocations: 109.2 kB / 1.277 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/1.237, allocations: 135.8 kB / 1.277 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005663/1.237, allocations: 0.5991 MB / 1.277 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008016/1.238, allocations: 79.27 kB / 1.278 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.346e-05/1.238, allocations: 35.98 kB / 1.278 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007541/1.239, allocations: 443.8 kB / 1.278 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005636/1.24, allocations: 393 kB / 1.278 GB, free: 492 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009614/1.241, allocations: 0.6295 MB / 1.279 GB, free: 15.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.751e-06/1.241, allocations: 0 / 1.279 GB, free: 15.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001833/1.243, allocations: 0.8339 MB / 1.28 GB, free: 14.92 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.243, allocations: 4 kB / 1.28 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/1.243, allocations: 8.469 kB / 1.28 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004943/1.243, allocations: 108.8 kB / 1.28 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/1.244, allocations: 143.7 kB / 1.28 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005079/1.244, allocations: 0.5953 MB / 1.281 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000757/1.245, allocations: 55.77 kB / 1.281 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/1.245, allocations: 35.98 kB / 1.281 GB, free: 13.95 MB / 1.014 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.0002713/1.245, allocations: 220.6 kB / 1.281 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/1.246, allocations: 118.6 kB / 1.281 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/1.248, allocations: 1.076 MB / 1.282 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001547/1.249, allocations: 0.7992 MB / 1.283 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/1.25, allocations: 7.938 kB / 1.283 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006248/1.25, allocations: 291.4 kB / 1.283 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/1.25, allocations: 12 kB / 1.283 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006581/1.251, allocations: 35.91 kB / 1.283 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/1.251, allocations: 56.48 kB / 1.283 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001777/1.253, allocations: 0.89 MB / 1.284 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002031/1.255, allocations: 1.333 MB / 1.285 GB, free: 9.055 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005363/1.256, allocations: 336.8 kB / 1.286 GB, free: 8.723 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001395/1.257, allocations: 0.6921 MB / 1.286 GB, free: 8.023 MB / 1.014 GB Notification: Performance of Backend: time 6.61e-07/1.257, allocations: 0 / 1.286 GB, free: 8.023 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005486/1.263, allocations: 1.439 MB / 1.288 GB, free: 6.578 MB / 1.014 GB Notification: Performance of SimCode: time 0.005939/1.268, allocations: 2.944 MB / 1.291 GB, free: 3.574 MB / 1.014 GB Notification: Performance of Templates: time 0.05451/1.323, allocations: 29.86 MB / 1.32 GB, free: 5.973 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)