Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.001466/0.001466, allocations: 109.1 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.001681/0.001681, allocations: 213.2 kB / 23 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.608/1.608, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.531/3.531, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [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.002065/0.002065, allocations: 77.28 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4222, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02608/0.4482, allocations: 17.97 MB / 1.345 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008261/0.4565, allocations: 4.713 MB / 1.349 GB, free: 10.21 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008646/0.4574, allocations: 31.69 kB / 1.349 GB, free: 10.18 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009141/0.4583, allocations: 266 kB / 1.35 GB, free: 9.914 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.4607, allocations: 0.8074 MB / 1.35 GB, free: 9.105 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002435/0.4631, allocations: 0.8842 MB / 1.351 GB, free: 8.227 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002178/0.4653, allocations: 1.553 MB / 1.353 GB, free: 6.668 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006866/0.466, allocations: 430.3 kB / 1.353 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.4673, allocations: 0.7044 MB / 1.354 GB, free: 5.527 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007365/0.468, allocations: 0.5251 MB / 1.354 GB, free: 5 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.745e-05/0.4681, allocations: 56 kB / 1.354 GB, free: 4.945 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.4693, allocations: 0.5498 MB / 1.355 GB, free: 4.395 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.4695, allocations: 167.3 kB / 1.355 GB, free: 4.23 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003308/0.4698, allocations: 314.5 kB / 1.355 GB, free: 3.922 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.4713, allocations: 1.062 MB / 1.356 GB, free: 2.855 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4713, allocations: 0 / 1.356 GB, free: 2.855 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4713, allocations: 0 / 1.356 GB, free: 2.855 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.4713, allocations: 4 kB / 1.356 GB, free: 2.852 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002109/0.4734, allocations: 1.041 MB / 1.357 GB, free: 1.777 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.4734, allocations: 8.031 kB / 1.357 GB, free: 1.77 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.4736, allocations: 88.38 kB / 1.357 GB, free: 1.684 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009321/0.4746, allocations: 464.5 kB / 1.358 GB, free: 1.199 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.4746, allocations: 37 kB / 1.358 GB, free: 1.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.952e-05/0.4747, allocations: 44 kB / 1.358 GB, free: 1.117 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.4759, allocations: 0.6506 MB / 1.359 GB, free: 408 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.4759, allocations: 7.922 kB / 1.359 GB, free: 400 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.4759, allocations: 19.94 kB / 1.359 GB, free: 380 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.4759, allocations: 12 kB / 1.359 GB, free: 368 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.4771, allocations: 495.4 kB / 1.359 GB, free: 15.88 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00374/0.4808, allocations: 2.662 MB / 1.362 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007605/0.4816, allocations: 312.5 kB / 1.362 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004945/0.4821, allocations: 213.3 kB / 1.362 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.4823, allocations: 43.91 kB / 1.362 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.4823, allocations: 38.56 kB / 1.362 GB, free: 12.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=38): time 2.835e-06/0.4823, allocations: 0 / 1.362 GB, free: 12.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=38): time 0.00225/0.4846, allocations: 0.7237 MB / 1.363 GB, free: 11.76 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.4846, allocations: 55.41 kB / 1.363 GB, free: 11.7 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006648/0.4853, allocations: 0.5264 MB / 1.364 GB, free: 11.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/0.4854, allocations: 41.7 kB / 1.364 GB, free: 11.11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.4857, allocations: 336.8 kB / 1.364 GB, free: 10.78 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.4858, allocations: 142.8 kB / 1.364 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.486, allocations: 118.3 kB / 1.364 GB, free: 10.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.4862, allocations: 366.8 kB / 1.365 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/0.4867, allocations: 207.4 kB / 1.365 GB, free: 9.941 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006893/0.4874, allocations: 449 kB / 1.365 GB, free: 9.422 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.4886, allocations: 0.5543 MB / 1.366 GB, free: 8.805 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.4886, allocations: 8 kB / 1.366 GB, free: 8.797 MB / 1.061 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001559/0.4901, allocations: 0.6994 MB / 1.366 GB, free: 8.086 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.4901, allocations: 4 kB / 1.366 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.4902, allocations: 8 kB / 1.366 GB, free: 8.074 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006381/0.4908, allocations: 125.1 kB / 1.367 GB, free: 7.949 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005622/0.4914, allocations: 131.8 kB / 1.367 GB, free: 7.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006703/0.492, allocations: 0.6226 MB / 1.367 GB, free: 7.172 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/0.4926, allocations: 75.58 kB / 1.367 GB, free: 7.098 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/0.4927, allocations: 31.92 kB / 1.367 GB, free: 7.066 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006881/0.4934, allocations: 345.4 kB / 1.368 GB, free: 6.727 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006711/0.494, allocations: 434.4 kB / 1.368 GB, free: 6.223 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001091/0.4951, allocations: 0.5506 MB / 1.369 GB, free: 5.609 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.444e-06/0.4951, allocations: 0 / 1.369 GB, free: 5.609 MB / 1.061 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001365/0.4965, allocations: 0.6515 MB / 1.369 GB, free: 4.949 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4965, allocations: 8 kB / 1.369 GB, free: 4.941 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4965, allocations: 4 kB / 1.369 GB, free: 4.938 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.4965, allocations: 8 kB / 1.369 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/0.4972, allocations: 148.3 kB / 1.369 GB, free: 4.785 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.4972, allocations: 8 kB / 1.369 GB, free: 4.777 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.4977, allocations: 63.69 kB / 1.37 GB, free: 4.715 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.4977, allocations: 31.98 kB / 1.37 GB, free: 4.684 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002198/0.4979, allocations: 220 kB / 1.37 GB, free: 4.461 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.498, allocations: 59.62 kB / 1.37 GB, free: 4.402 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.4996, allocations: 0.6526 MB / 1.37 GB, free: 3.746 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.4996, allocations: 0 / 1.37 GB, free: 3.746 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4996, allocations: 96 / 1.37 GB, free: 3.746 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.4999, allocations: 119.4 kB / 1.371 GB, free: 3.629 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.443e-05/0.5, allocations: 11.94 kB / 1.371 GB, free: 3.617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.5004, allocations: 31.95 kB / 1.371 GB, free: 3.586 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.5005, allocations: 27.95 kB / 1.371 GB, free: 3.559 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001602/0.5021, allocations: 0.6576 MB / 1.371 GB, free: 2.887 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001874/0.5039, allocations: 0.9739 MB / 1.372 GB, free: 1.895 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005184/0.5045, allocations: 213 kB / 1.372 GB, free: 1.688 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004821/0.5049, allocations: 354.8 kB / 1.373 GB, free: 1.344 MB / 1.061 GB Notification: Performance of Backend: time 6.92e-07/0.5049, allocations: 8 kB / 1.373 GB, free: 1.336 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002531/0.5075, allocations: 0.8466 MB / 1.374 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of SimCode: time 0.002575/0.51, allocations: 1.582 MB / 1.375 GB, free: 14.86 MB / 1.076 GB Notification: Performance of Templates: time 0.02742/0.5375, allocations: 15.69 MB / 1.39 GB, free: 15.42 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.586219338001683] Failed to read output from testmodel.py, exit status != 0: 0.546649490002892 0.5614800400000001 0.086904196 Calling exit ...