Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002179/0.002179, allocations: 220 kB / 23.01 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.42/3.42, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow.y|senTemIn.T|senTemOut.T|pip.v_nominal|pip.v",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow.y|senTemIn.T|senTemOut.T|pip.v_nominal|pip.v",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 67.47 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4805/0.4826, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.07184/0.5545, allocations: 56.22 MB / 1.382 GB, free: 8.547 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0269/0.5814, allocations: 13.63 MB / 1.395 GB, free: 10.88 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00362/0.585, allocations: 87.25 kB / 1.395 GB, free: 10.8 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002544/0.5875, allocations: 0.7141 MB / 1.396 GB, free: 10.08 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008919/0.5965, allocations: 2.408 MB / 1.398 GB, free: 7.66 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006154/0.6026, allocations: 1.733 MB / 1.4 GB, free: 5.934 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008518/0.6111, allocations: 4.14 MB / 1.404 GB, free: 1.781 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002161/0.6133, allocations: 1.001 MB / 1.405 GB, free: 0.7422 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005816/0.6191, allocations: 1.864 MB / 1.407 GB, free: 14.88 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002485/0.6216, allocations: 1.101 MB / 1.408 GB, free: 13.77 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002627/0.6219, allocations: 132 kB / 1.408 GB, free: 13.64 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003781/0.6256, allocations: 1.275 MB / 1.409 GB, free: 12.36 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004332/0.6261, allocations: 346.6 kB / 1.41 GB, free: 12.02 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.6271, allocations: 0.63 MB / 1.41 GB, free: 11.39 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005124/0.6322, allocations: 2.597 MB / 1.413 GB, free: 8.785 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6322, allocations: 0 / 1.413 GB, free: 8.785 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6322, allocations: 0 / 1.413 GB, free: 8.785 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.59e-05/0.6322, allocations: 3.938 kB / 1.413 GB, free: 8.781 MB / 1.107 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.003667/0.6359, allocations: 1.788 MB / 1.415 GB, free: 6.957 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.636, allocations: 8.031 kB / 1.415 GB, free: 6.949 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007234/0.6367, allocations: 187.9 kB / 1.415 GB, free: 6.766 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.6393, allocations: 1.232 MB / 1.416 GB, free: 5.484 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/0.6394, allocations: 66 kB / 1.416 GB, free: 5.422 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.6395, allocations: 99.94 kB / 1.416 GB, free: 5.324 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.6414, allocations: 1.098 MB / 1.417 GB, free: 4.141 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/0.6414, allocations: 7.938 kB / 1.417 GB, free: 4.133 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.67e-05/0.6415, allocations: 32 kB / 1.417 GB, free: 4.102 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.121e-05/0.6416, allocations: 27.98 kB / 1.417 GB, free: 4.074 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.6428, allocations: 0.6557 MB / 1.418 GB, free: 3.418 MB / 1.107 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.005565/0.6484, allocations: 3.508 MB / 1.421 GB, free: 15.81 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000822/0.6492, allocations: 368.8 kB / 1.422 GB, free: 15.43 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.6496, allocations: 214.1 kB / 1.422 GB, free: 15.22 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008283/0.6504, allocations: 172.3 kB / 1.422 GB, free: 15.05 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/0.6505, allocations: 43 kB / 1.422 GB, free: 15 MB / 1.123 GB Notification: Performance of pre-optimization done (n=53): time 3.426e-06/0.6505, allocations: 0 / 1.422 GB, free: 15 MB / 1.123 GB Notification: Performance of matching and sorting (n=53): time 0.002679/0.6532, allocations: 0.8583 MB / 1.423 GB, free: 14.14 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.6532, allocations: 59.84 kB / 1.423 GB, free: 14.07 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.6546, allocations: 0.9352 MB / 1.424 GB, free: 13.11 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.56e-05/0.6547, allocations: 37.7 kB / 1.424 GB, free: 13.07 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005838/0.6553, allocations: 0.5977 MB / 1.425 GB, free: 12.46 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.6555, allocations: 194.3 kB / 1.425 GB, free: 12.27 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.6558, allocations: 146.2 kB / 1.425 GB, free: 12.12 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.6559, allocations: 330 kB / 1.425 GB, free: 11.8 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/0.6563, allocations: 203.7 kB / 1.425 GB, free: 11.59 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/0.657, allocations: 0.4918 MB / 1.426 GB, free: 11 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.658, allocations: 0.6246 MB / 1.427 GB, free: 10.29 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.658, allocations: 0 / 1.427 GB, free: 10.29 MB / 1.123 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00194/0.66, allocations: 0.8296 MB / 1.427 GB, free: 9.449 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.66, allocations: 10.03 kB / 1.427 GB, free: 9.441 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.66, allocations: 8 kB / 1.427 GB, free: 9.434 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/0.6606, allocations: 108.9 kB / 1.427 GB, free: 9.324 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.6611, allocations: 147.7 kB / 1.428 GB, free: 9.18 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006121/0.6617, allocations: 0.5991 MB / 1.428 GB, free: 8.555 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007369/0.6625, allocations: 67.55 kB / 1.428 GB, free: 8.488 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.957e-05/0.6626, allocations: 35.98 kB / 1.428 GB, free: 8.453 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008111/0.6634, allocations: 441.7 kB / 1.429 GB, free: 8.02 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006392/0.664, allocations: 499.6 kB / 1.429 GB, free: 7.422 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001024/0.665, allocations: 0.613 MB / 1.43 GB, free: 6.73 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.665, allocations: 4 kB / 1.43 GB, free: 6.727 MB / 1.123 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001838/0.6669, allocations: 0.8176 MB / 1.431 GB, free: 5.902 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.6669, allocations: 15.92 kB / 1.431 GB, free: 5.887 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.6669, allocations: 8 kB / 1.431 GB, free: 5.879 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005298/0.6674, allocations: 117.2 kB / 1.431 GB, free: 5.762 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.6679, allocations: 135.8 kB / 1.431 GB, free: 5.629 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000589/0.6685, allocations: 0.5992 MB / 1.431 GB, free: 5.004 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006819/0.6692, allocations: 59.66 kB / 1.431 GB, free: 4.945 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.146e-05/0.6692, allocations: 40.05 kB / 1.432 GB, free: 4.906 MB / 1.123 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.0003166/0.6696, allocations: 232.1 kB / 1.432 GB, free: 4.672 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.6698, allocations: 119.2 kB / 1.432 GB, free: 4.555 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.6722, allocations: 1.072 MB / 1.433 GB, free: 3.496 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001472/0.6737, allocations: 0.8115 MB / 1.434 GB, free: 2.652 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.6737, allocations: 7.922 kB / 1.434 GB, free: 2.645 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005348/0.6742, allocations: 218.9 kB / 1.434 GB, free: 2.43 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.6744, allocations: 12 kB / 1.434 GB, free: 2.418 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005352/0.6749, allocations: 27.98 kB / 1.434 GB, free: 2.391 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.675, allocations: 68.53 kB / 1.434 GB, free: 2.324 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001816/0.6769, allocations: 0.8791 MB / 1.435 GB, free: 1.438 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002057/0.6789, allocations: 1.373 MB / 1.436 GB, free: 48 kB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000526/0.6794, allocations: 309.5 kB / 1.436 GB, free: 15.74 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001083/0.6805, allocations: 0.636 MB / 1.437 GB, free: 15.1 MB / 1.139 GB Notification: Performance of Backend: time 5.71e-07/0.6805, allocations: 4 kB / 1.437 GB, free: 15.09 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003593/0.6841, allocations: 1.309 MB / 1.438 GB, free: 13.77 MB / 1.139 GB Notification: Performance of SimCode: time 0.005457/0.6896, allocations: 2.943 MB / 1.441 GB, free: 10.77 MB / 1.139 GB Notification: Performance of Templates: time 0.05654/0.7461, allocations: 30.94 MB / 1.471 GB, free: 12.3 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.141875346998859] Failed to read output from testmodel.py, exit status != 0: 0.7561531230021501 0.7714355159999999 0.135825685 Calling exit ...