Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 115.1 kB / 18.68 MB, free: 3.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008594/0.008594, allocations: 189.5 kB / 21.93 MB, free: 5.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 250.6 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 443.5 MB / 0.7317 GB, free: 12.63 MB / 0.5919 GB " [Timeout remaining time 177] 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.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003496/0.003496, allocations: 67.89 kB / 1.061 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8536/0.8571, allocations: 160.7 MB / 1.218 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02471/0.8818, allocations: 19.76 MB / 1.237 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008466/0.8903, allocations: 5.184 MB / 1.242 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009193/0.8912, allocations: 19.88 kB / 1.242 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008452/0.892, allocations: 270 kB / 1.242 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.8942, allocations: 0.8055 MB / 1.243 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.8964, allocations: 0.8889 MB / 1.244 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002215/0.8986, allocations: 1.554 MB / 1.246 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007101/0.8993, allocations: 432.4 kB / 1.246 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.9005, allocations: 0.6421 MB / 1.247 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008123/0.9013, allocations: 0.5485 MB / 1.247 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.9014, allocations: 63.94 kB / 1.247 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.9028, allocations: 0.7057 MB / 1.248 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.9029, allocations: 163.3 kB / 1.248 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004091/0.9033, allocations: 389.9 kB / 1.248 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.905, allocations: 1.097 MB / 1.249 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.905, allocations: 0 / 1.249 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.603e-06/0.905, allocations: 0 / 1.249 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.905, allocations: 0 / 1.249 GB, free: 7.051 MB / 0.9512 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.002084/0.9071, allocations: 1.124 MB / 1.251 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.9071, allocations: 12.62 kB / 1.251 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.9073, allocations: 92.41 kB / 1.251 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009058/0.9082, allocations: 0.527 MB / 1.251 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.9082, allocations: 37 kB / 1.251 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-05/0.9083, allocations: 48 kB / 1.251 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.9095, allocations: 0.6177 MB / 1.252 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.9095, allocations: 0 / 1.252 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.9095, allocations: 24 kB / 1.252 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.9095, allocations: 12 kB / 1.252 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.9107, allocations: 495.4 kB / 1.252 GB, free: 3.918 MB / 0.9512 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.003852/0.9146, allocations: 3.197 MB / 1.255 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007705/0.9153, allocations: 322.5 kB / 1.256 GB, free: 208 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005192/0.9158, allocations: 208.8 kB / 1.256 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000359/0.9162, allocations: 348.3 kB / 1.256 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.9162, allocations: 38.5 kB / 1.256 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=38): time 2.134e-06/0.9162, allocations: 0 / 1.256 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of matching and sorting (n=38): time 0.002359/0.9186, allocations: 0.8131 MB / 1.257 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.9186, allocations: 59.34 kB / 1.257 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007437/0.9194, allocations: 0.5862 MB / 1.258 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.9194, allocations: 41.7 kB / 1.258 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.9197, allocations: 333 kB / 1.258 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.9198, allocations: 138.8 kB / 1.258 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.92, allocations: 130.2 kB / 1.258 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.9202, allocations: 370.8 kB / 1.259 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005725/0.9208, allocations: 219.4 kB / 1.259 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006847/0.9215, allocations: 372 kB / 1.259 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.9227, allocations: 0.5743 MB / 1.26 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.9227, allocations: 7.938 kB / 1.26 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001661/0.9243, allocations: 0.7148 MB / 1.261 GB, free: 11 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.9244, allocations: 6.031 kB / 1.261 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/0.9244, allocations: 8 kB / 1.261 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006682/0.9251, allocations: 137.3 kB / 1.261 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/0.9256, allocations: 139.8 kB / 1.261 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006542/0.9263, allocations: 0.6148 MB / 1.261 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005656/0.9269, allocations: 83.53 kB / 1.262 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.808e-05/0.9269, allocations: 31.98 kB / 1.262 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007154/0.9277, allocations: 354.6 kB / 1.262 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006829/0.9283, allocations: 372 kB / 1.262 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001181/0.9295, allocations: 0.5549 MB / 1.263 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.364e-06/0.9295, allocations: 0 / 1.263 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001494/0.931, allocations: 0.6792 MB / 1.263 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.931, allocations: 12.09 kB / 1.263 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.931, allocations: 4 kB / 1.263 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.931, allocations: 12.12 kB / 1.263 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.9317, allocations: 151.8 kB / 1.264 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.9317, allocations: 8 kB / 1.264 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.9322, allocations: 67.62 kB / 1.264 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-05/0.9323, allocations: 43.91 kB / 1.264 GB, free: 7.586 MB / 0.9669 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 (69): * Single equations (assignments): 68 * 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.0001958/0.9325, allocations: 212.1 kB / 1.264 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.9326, allocations: 71.53 kB / 1.264 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.9342, allocations: 0.6382 MB / 1.265 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.9342, allocations: 0 / 1.265 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.9342, allocations: 0 / 1.265 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.9345, allocations: 208.3 kB / 1.265 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.559e-05/0.9346, allocations: 16 kB / 1.265 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.935, allocations: 27.97 kB / 1.265 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.228e-05/0.9351, allocations: 28.33 kB / 1.265 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001692/0.9368, allocations: 0.6665 MB / 1.266 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001869/0.9386, allocations: 0.9668 MB / 1.266 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005176/0.9391, allocations: 216.2 kB / 1.267 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005006/0.9396, allocations: 403.1 kB / 1.267 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of Backend: time 2.51e-07/0.9396, allocations: 4 kB / 1.267 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002516/0.9422, allocations: 0.8778 MB / 1.268 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002522/0.9447, allocations: 1.633 MB / 1.27 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of Templates: time 0.02629/0.971, allocations: 14.86 MB / 1.284 GB, free: 2.832 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 9.446858044015244] Failed to read output from testmodel.py, exit status != 0: 0.982418900995981 1.005731684 0.09540151200000001 Calling exit ...