Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.001288/0.001288, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001309/0.001309, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.487/1.487, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.86/2.86, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_11_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_11_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 71.88 kB / 1.107 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9884/0.9903, allocations: 168.7 MB / 1.272 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01761/1.008, allocations: 15.8 MB / 1.287 GB, free: 12.46 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007919/1.016, allocations: 4.382 MB / 1.291 GB, free: 9.402 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008235/1.017, allocations: 17.09 kB / 1.291 GB, free: 9.395 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/1.018, allocations: 266.5 kB / 1.291 GB, free: 9.246 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002212/1.02, allocations: 0.6432 MB / 1.292 GB, free: 8.871 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00225/1.022, allocations: 0.7128 MB / 1.293 GB, free: 8.52 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00187/1.024, allocations: 1.024 MB / 1.294 GB, free: 8.059 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005328/1.025, allocations: 271.2 kB / 1.294 GB, free: 7.934 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008814/1.026, allocations: 431.5 kB / 1.294 GB, free: 7.746 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000508/1.026, allocations: 344.3 kB / 1.295 GB, free: 7.598 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.581e-05/1.026, allocations: 26.22 kB / 1.295 GB, free: 7.598 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/1.028, allocations: 0.6339 MB / 1.295 GB, free: 7.398 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/1.028, allocations: 106.2 kB / 1.296 GB, free: 7.336 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002349/1.028, allocations: 223.1 kB / 1.296 GB, free: 7.203 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/1.029, allocations: 0.7716 MB / 1.297 GB, free: 6.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.029, allocations: 4 kB / 1.297 GB, free: 6.906 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/1.029, allocations: 0 / 1.297 GB, free: 6.906 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.476e-06/1.029, allocations: 0 / 1.297 GB, free: 6.906 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001343/1.031, allocations: 0.8535 MB / 1.297 GB, free: 6.227 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/1.031, allocations: 7.469 kB / 1.297 GB, free: 6.227 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.261e-05/1.031, allocations: 55.17 kB / 1.297 GB, free: 6.176 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/1.031, allocations: 63.81 kB / 1.297 GB, free: 6.141 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/1.031, allocations: 436.6 kB / 1.298 GB, free: 5.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/1.031, allocations: 20.23 kB / 1.298 GB, free: 5.812 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/1.032, allocations: 35.61 kB / 1.298 GB, free: 5.797 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000432/1.032, allocations: 210.8 kB / 1.298 GB, free: 5.703 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.032, allocations: 0 / 1.298 GB, free: 5.703 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/1.032, allocations: 10.67 kB / 1.298 GB, free: 5.695 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.032, allocations: 7.344 kB / 1.298 GB, free: 5.695 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/1.032, allocations: 167.9 kB / 1.298 GB, free: 5.648 MB / 1.014 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.001655/1.034, allocations: 0.9389 MB / 1.299 GB, free: 5.027 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/1.034, allocations: 122.8 kB / 1.299 GB, free: 4.973 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/1.034, allocations: 66.23 kB / 1.299 GB, free: 4.949 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/1.035, allocations: 334.3 kB / 1.3 GB, free: 4.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/1.035, allocations: 41.03 kB / 1.3 GB, free: 4.523 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.492e-06/1.035, allocations: 4 kB / 1.3 GB, free: 4.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0006664/1.036, allocations: 248.4 kB / 1.3 GB, free: 4.418 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/1.036, allocations: 52.02 kB / 1.3 GB, free: 4.355 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/1.036, allocations: 476.9 kB / 1.301 GB, free: 4.137 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/1.036, allocations: 30.31 kB / 1.301 GB, free: 4.102 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/1.036, allocations: 229.3 kB / 1.301 GB, free: 3.914 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/1.036, allocations: 62.45 kB / 1.301 GB, free: 3.863 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/1.036, allocations: 56.5 kB / 1.301 GB, free: 3.832 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.037, allocations: 353.5 kB / 1.301 GB, free: 3.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/1.037, allocations: 77.2 kB / 1.301 GB, free: 3.469 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/1.037, allocations: 157.6 kB / 1.301 GB, free: 3.363 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/1.037, allocations: 162.7 kB / 1.302 GB, free: 3.289 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.037, allocations: 0 / 1.302 GB, free: 3.289 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006045/1.038, allocations: 259.8 kB / 1.302 GB, free: 3.176 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.038, allocations: 9.281 kB / 1.302 GB, free: 3.172 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.038, allocations: 1.75 kB / 1.302 GB, free: 3.172 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/1.038, allocations: 1.656 kB / 1.302 GB, free: 3.172 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/1.038, allocations: 47.25 kB / 1.302 GB, free: 3.168 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.964e-06/1.038, allocations: 1.531 kB / 1.302 GB, free: 3.168 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/1.039, allocations: 36.31 kB / 1.302 GB, free: 3.152 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/1.039, allocations: 9.547 kB / 1.302 GB, free: 3.152 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003819/1.039, allocations: 192.2 kB / 1.302 GB, free: 3.031 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003268/1.039, allocations: 174 kB / 1.302 GB, free: 2.902 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003642/1.04, allocations: 165.8 kB / 1.302 GB, free: 2.816 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.255e-06/1.04, allocations: 1.281 kB / 1.302 GB, free: 2.816 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005273/1.04, allocations: 252.8 kB / 1.303 GB, free: 2.707 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/1.04, allocations: 7.062 kB / 1.303 GB, free: 2.707 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/1.04, allocations: 0.6094 kB / 1.303 GB, free: 2.707 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-06/1.04, allocations: 6.5 kB / 1.303 GB, free: 2.703 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/1.041, allocations: 46.38 kB / 1.303 GB, free: 2.699 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.041, allocations: 6.219 kB / 1.303 GB, free: 2.695 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/1.041, allocations: 35.06 kB / 1.303 GB, free: 2.684 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/1.041, allocations: 13.78 kB / 1.303 GB, free: 2.68 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001397/1.041, allocations: 190.7 kB / 1.303 GB, free: 2.492 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/1.041, allocations: 46.55 kB / 1.303 GB, free: 2.465 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005883/1.042, allocations: 249.7 kB / 1.303 GB, free: 2.359 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/1.042, allocations: 2.406 kB / 1.303 GB, free: 2.359 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.042, allocations: 1.438 kB / 1.303 GB, free: 2.359 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.042, allocations: 1.312 kB / 1.303 GB, free: 2.359 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/1.043, allocations: 0.7113 MB / 1.304 GB, free: 1.875 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.043, allocations: 1.969 kB / 1.304 GB, free: 1.875 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/1.043, allocations: 32.11 kB / 1.304 GB, free: 1.871 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/1.043, allocations: 2.781 kB / 1.304 GB, free: 1.871 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/1.043, allocations: 11.33 kB / 1.304 GB, free: 1.863 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/1.043, allocations: 1.562 kB / 1.304 GB, free: 1.863 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.043, allocations: 2.297 kB / 1.304 GB, free: 1.863 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000556/1.044, allocations: 353.1 kB / 1.304 GB, free: 1.617 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/1.044, allocations: 139.3 kB / 1.305 GB, free: 1.488 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/1.044, allocations: 11.52 kB / 1.305 GB, free: 1.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/1.044, allocations: 15.42 kB / 1.305 GB, free: 1.477 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/1.044, allocations: 18.8 kB / 1.305 GB, free: 1.469 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/1.044, allocations: 6.562 kB / 1.305 GB, free: 1.469 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003951/1.044, allocations: 332.2 kB / 1.305 GB, free: 1.316 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/1.044, allocations: 0 / 1.305 GB, free: 1.316 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007192/1.045, allocations: 202.2 kB / 1.305 GB, free: 1.273 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002345/1.048, allocations: 1.258 MB / 1.306 GB, free: 384 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007276/1.048, allocations: 262.4 kB / 1.307 GB, free: 312 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.048, allocations: 0 / 1.307 GB, free: 312 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/1.048, allocations: 78.2 kB / 1.307 GB, free: 292 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/1.049, allocations: 197.9 kB / 1.307 GB, free: 228 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005036/1.055, allocations: 3.367 MB / 1.31 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/1.055, allocations: 0.8225 MB / 1.311 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003711/1.055, allocations: 90.33 kB / 1.311 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/1.056, allocations: 144.3 kB / 1.311 GB, free: 13.36 MB / 1.029 GB Notification: Performance of SimCode: time 8.42e-07/1.056, allocations: 0 / 1.311 GB, free: 13.36 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04632/1.102, allocations: 12.89 MB / 1.324 GB, free: 11.79 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.883/9.985, allocations: 6.75 kB / 1.324 GB, free: 11.78 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.219736436993117] Failed to read output from testmodel.py, exit status != 0: 10.12105679299566 10.145919226 9.111214716 Calling exit ...