Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 178.5 kB / 16.58 MB, free: 6.461 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.417/1.417, allocations: 223.3 MB / 240.6 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7222/0.7222, allocations: 115.5 MB / 407.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003344, allocations: 19.98 kB / 495.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1647, allocations: 77.52 MB / 0.5593 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3983/0.5631, allocations: 104 MB / 0.6609 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03035/0.5935, allocations: 19.09 MB / 0.6796 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004251/0.5978, allocations: 91.38 kB / 0.6796 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003694/0.6015, allocations: 0.8967 MB / 0.6805 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009892/0.6114, allocations: 2.864 MB / 0.6833 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008022/0.6194, allocations: 2.378 MB / 0.6856 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01457/0.634, allocations: 8.113 MB / 0.6936 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004559/0.6386, allocations: 1.828 MB / 0.6953 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006208/0.6448, allocations: 2.232 MB / 0.6975 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003822/0.6487, allocations: 1.921 MB / 0.6994 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007495/0.6495, allocations: 92 kB / 0.6995 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00367/0.6531, allocations: 1.146 MB / 0.7006 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008622/0.654, allocations: 497.7 kB / 0.7011 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.6552, allocations: 0.5744 MB / 0.7016 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004128/0.6593, allocations: 3.271 MB / 0.7048 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.6593, allocations: 4 kB / 0.7048 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6593, allocations: 4 kB / 0.7048 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001213/0.6595, allocations: 0 / 0.7048 GB, free: 2.914 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.00528/0.6648, allocations: 2.715 MB / 0.7075 GB, free: 140 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.6648, allocations: 15.97 kB / 0.7075 GB, free: 124 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.6659, allocations: 320.2 kB / 0.7078 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004454/0.6704, allocations: 2.067 MB / 0.7098 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.6705, allocations: 123 kB / 0.71 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004086/0.6709, allocations: 179.9 kB / 0.7101 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003363/0.6743, allocations: 1.608 MB / 0.7117 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.593e-05/0.6743, allocations: 7.922 kB / 0.7117 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.6745, allocations: 64 kB / 0.7118 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/0.6745, allocations: 36 kB / 0.7118 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.6768, allocations: 1.147 MB / 0.7129 GB, free: 10.44 MB / 0.5294 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.01206/0.6888, allocations: 7.893 MB / 0.7206 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008427/0.6897, allocations: 475.3 kB / 0.7211 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000634/0.6904, allocations: 334.9 kB / 0.7214 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007757/0.6912, allocations: 0.7563 MB / 0.7221 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.6912, allocations: 39.12 kB / 0.7222 GB, free: 272 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=60): time 3.036e-06/0.6912, allocations: 0 / 0.7222 GB, free: 272 kB / 0.5294 GB Notification: Performance of matching and sorting (n=60): time 0.002341/0.6936, allocations: 0.9999 MB / 0.7232 GB, free: 15.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.6937, allocations: 63.91 kB / 0.7232 GB, free: 15.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003541/0.6973, allocations: 2.296 MB / 0.7255 GB, free: 12.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.6974, allocations: 45.7 kB / 0.7255 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.6985, allocations: 1.153 MB / 0.7266 GB, free: 11.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.6987, allocations: 216.9 kB / 0.7268 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.6988, allocations: 20 kB / 0.7269 GB, free: 11.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.699, allocations: 349.9 kB / 0.7272 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006377/0.6996, allocations: 342.5 kB / 0.7275 GB, free: 10.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000926/0.7005, allocations: 0.7346 MB / 0.7282 GB, free: 9.852 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008292/0.7014, allocations: 462.7 kB / 0.7287 GB, free: 9.406 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.7014, allocations: 0 / 0.7287 GB, free: 9.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002328/0.7037, allocations: 1.28 MB / 0.7299 GB, free: 8.117 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002082/0.7039, allocations: 344.7 kB / 0.7302 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.704, allocations: 16 kB / 0.7303 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.704, allocations: 12 kB / 0.7303 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009871/0.705, allocations: 251.6 kB / 0.7305 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.663e-05/0.705, allocations: 23.92 kB / 0.7305 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.7066, allocations: 246.2 kB / 0.7308 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.963e-05/0.7067, allocations: 55.98 kB / 0.7308 GB, free: 7.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/0.7068, allocations: 7.938 kB / 0.7308 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001696/0.7085, allocations: 1.023 MB / 0.7318 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.7085, allocations: 8 kB / 0.7318 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.7085, allocations: 23.97 kB / 0.7319 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008948/0.7094, allocations: 247.6 kB / 0.7321 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/0.7094, allocations: 23.89 kB / 0.7321 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.7108, allocations: 223 kB / 0.7323 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.883e-05/0.7109, allocations: 51.98 kB / 0.7324 GB, free: 5.473 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001127/0.712, allocations: 0.5786 MB / 0.733 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003899/0.7124, allocations: 237 kB / 0.7332 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.7141, allocations: 0.8974 MB / 0.7341 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.7141, allocations: 7.938 kB / 0.7341 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.7141, allocations: 7.953 kB / 0.7341 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001077/0.7152, allocations: 0.6853 MB / 0.7347 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004037/0.7193, allocations: 2.578 MB / 0.7373 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.7193, allocations: 4 kB / 0.7373 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005198/0.7198, allocations: 123.9 kB / 0.7374 GB, free: 240 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.7198, allocations: 7.953 kB / 0.7374 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.7199, allocations: 19.98 kB / 0.7374 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.7199, allocations: 4 kB / 0.7374 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7199, allocations: 3.938 kB / 0.7374 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/0.722, allocations: 1.317 MB / 0.7387 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007008/0.7227, allocations: 457.8 kB / 0.7391 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.723, allocations: 15.95 kB / 0.7391 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.724, allocations: 115.7 kB / 0.7393 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.605e-05/0.7241, allocations: 40.5 kB / 0.7393 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.387e-05/0.7242, allocations: 35.91 kB / 0.7393 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00214/0.7263, allocations: 1.538 MB / 0.7408 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7263, allocations: 0 / 0.7408 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00256/0.7289, allocations: 1.091 MB / 0.7419 GB, free: 11.54 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001478/0.7304, allocations: 0.7257 MB / 0.7426 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002353/0.7327, allocations: 1.349 MB / 0.7439 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7327, allocations: 1.375 kB / 0.7439 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005451/0.7333, allocations: 335.2 kB / 0.7442 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005561/0.7389, allocations: 1.366 MB / 0.7456 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006025/0.7449, allocations: 4.42 MB / 0.7499 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.7461, allocations: 1.59 MB / 0.7515 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002151/0.7483, allocations: 0.4986 MB / 0.7519 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/0.7486, allocations: 171.4 kB / 0.7521 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.7486, allocations: 0 / 0.7521 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.07278/0.8214, allocations: 43.77 MB / 0.7948 GB, free: 5.934 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)