Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001352/0.001353, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001359/0.001359, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.415/1.415, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 59.91 kB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9241/0.9255, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.06198/0.9875, allocations: 60.72 MB / 1.148 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02249/1.01, allocations: 14.66 MB / 1.162 GB, free: 15.47 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004196/1.014, allocations: 63.38 kB / 1.162 GB, free: 15.45 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002331/1.017, allocations: 0.7332 MB / 1.163 GB, free: 14.99 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008106/1.025, allocations: 2.359 MB / 1.165 GB, free: 13.6 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005608/1.03, allocations: 1.696 MB / 1.167 GB, free: 12.66 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007125/1.038, allocations: 4.055 MB / 1.171 GB, free: 10.69 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00337/1.041, allocations: 1.284 MB / 1.172 GB, free: 10.06 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00614/1.047, allocations: 1.622 MB / 1.174 GB, free: 9.293 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002803/1.05, allocations: 1.078 MB / 1.175 GB, free: 8.793 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006192/1.051, allocations: 137 kB / 1.175 GB, free: 8.789 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006223/1.057, allocations: 1.723 MB / 1.177 GB, free: 7.867 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007604/1.058, allocations: 336.7 kB / 1.177 GB, free: 7.602 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002446/1.06, allocations: 0.7822 MB / 1.178 GB, free: 7.086 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.009183/1.069, allocations: 2.719 MB / 1.18 GB, free: 5.312 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.069, allocations: 1.25 kB / 1.18 GB, free: 5.312 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.783e-06/1.069, allocations: 0 / 1.18 GB, free: 5.312 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.921e-05/1.069, allocations: 0 / 1.18 GB, free: 5.312 MB / 0.92 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.006056/1.075, allocations: 1.842 MB / 1.182 GB, free: 3.898 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/1.076, allocations: 8.594 kB / 1.182 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009074/1.076, allocations: 162.8 kB / 1.182 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00327/1.08, allocations: 1.311 MB / 1.184 GB, free: 2.789 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-05/1.08, allocations: 69.09 kB / 1.184 GB, free: 2.754 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/1.08, allocations: 92.64 kB / 1.184 GB, free: 2.719 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/1.082, allocations: 0.9592 MB / 1.185 GB, free: 2.094 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.824e-05/1.082, allocations: 1.125 kB / 1.185 GB, free: 2.094 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/1.082, allocations: 37.28 kB / 1.185 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.854e-05/1.082, allocations: 22.25 kB / 1.185 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/1.084, allocations: 0.6662 MB / 1.185 GB, free: 1.727 MB / 0.92 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.007035/1.091, allocations: 5.225 MB / 1.191 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008831/1.092, allocations: 397.1 kB / 1.191 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004167/1.092, allocations: 245.5 kB / 1.191 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/1.093, allocations: 1.59 MB / 1.193 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/1.094, allocations: 38.62 kB / 1.193 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=53): time 3.697e-06/1.094, allocations: 0 / 1.193 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53): time 0.002759/1.096, allocations: 0.9385 MB / 1.194 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/1.096, allocations: 65.14 kB / 1.194 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/1.098, allocations: 0.9966 MB / 1.195 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-05/1.098, allocations: 37.2 kB / 1.195 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/1.099, allocations: 0.5842 MB / 1.195 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/1.099, allocations: 193.2 kB / 1.195 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/1.099, allocations: 136.9 kB / 1.196 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.1, allocations: 332.5 kB / 1.196 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/1.1, allocations: 198.1 kB / 1.196 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006072/1.101, allocations: 409.1 kB / 1.197 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/1.102, allocations: 0.6276 MB / 1.197 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/1.102, allocations: 2.5 kB / 1.197 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002112/1.104, allocations: 0.8237 MB / 1.198 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/1.104, allocations: 8.531 kB / 1.198 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/1.104, allocations: 15.17 kB / 1.198 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/1.104, allocations: 111 kB / 1.198 GB, free: 7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/1.105, allocations: 139.9 kB / 1.198 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005414/1.106, allocations: 0.6024 MB / 1.199 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009624/1.107, allocations: 78.14 kB / 1.199 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.516e-05/1.107, allocations: 36.55 kB / 1.199 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008143/1.107, allocations: 435.3 kB / 1.199 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005487/1.108, allocations: 396.9 kB / 1.2 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009865/1.109, allocations: 0.6271 MB / 1.2 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.019e-06/1.109, allocations: 0.9375 kB / 1.2 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001939/1.111, allocations: 0.8236 MB / 1.201 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/1.111, allocations: 7.594 kB / 1.201 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/1.111, allocations: 7.688 kB / 1.201 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005061/1.112, allocations: 119.7 kB / 1.201 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/1.112, allocations: 142.4 kB / 1.201 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000468/1.112, allocations: 0.5954 MB / 1.202 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008619/1.113, allocations: 55.86 kB / 1.202 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.348e-05/1.113, allocations: 39.23 kB / 1.202 GB, free: 4.098 MB / 0.9356 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.0002695/1.114, allocations: 224.1 kB / 1.202 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/1.114, allocations: 113.1 kB / 1.202 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/1.116, allocations: 1.069 MB / 1.203 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00141/1.118, allocations: 0.7986 MB / 1.204 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/1.118, allocations: 6.312 kB / 1.204 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006335/1.118, allocations: 293.3 kB / 1.204 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/1.119, allocations: 15.19 kB / 1.204 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/1.119, allocations: 29.88 kB / 1.205 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/1.12, allocations: 55.8 kB / 1.205 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001788/1.121, allocations: 0.8849 MB / 1.205 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002131/1.124, allocations: 1.335 MB / 1.207 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000562/1.124, allocations: 343.6 kB / 1.207 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001344/1.125, allocations: 0.6871 MB / 1.208 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of Backend: time 3.7e-07/1.125, allocations: 0 / 1.208 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00443/1.13, allocations: 1.436 MB / 1.209 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of SimCode: time 0.005699/1.136, allocations: 2.951 MB / 1.212 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of Templates: time 0.04906/1.185, allocations: 29.88 MB / 1.241 GB, free: 0.5469 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)