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.001349/0.001349, allocations: 119.5 kB / 17.09 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.367/1.367, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7951/0.7951, allocations: 115.3 MB / 407.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 69.41 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.139, allocations: 76.17 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1168/0.2558, allocations: 112.6 MB / 0.7427 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.371/0.6267, allocations: 20.24 MB / 0.7625 GB, free: 30.67 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005347/0.6321, allocations: 110.5 kB / 0.7626 GB, free: 30.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004298/0.6365, allocations: 1.277 MB / 0.7638 GB, free: 30.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.6474, allocations: 3.692 MB / 0.7674 GB, free: 30.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008656/0.6561, allocations: 3.121 MB / 0.7705 GB, free: 30.4 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01249/0.6686, allocations: 7.211 MB / 0.7775 GB, free: 30.39 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004667/0.6733, allocations: 2.574 MB / 0.78 GB, free: 30.05 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007712/0.681, allocations: 2.896 MB / 0.7829 GB, free: 29.22 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004369/0.6854, allocations: 2.119 MB / 0.7849 GB, free: 28.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007934/0.6862, allocations: 256.2 kB / 0.7852 GB, free: 28.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004796/0.691, allocations: 1.654 MB / 0.7868 GB, free: 27.96 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008561/0.6919, allocations: 0.6891 MB / 0.7875 GB, free: 27.55 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002543/0.6945, allocations: 1.513 MB / 0.7889 GB, free: 26.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006407/0.7009, allocations: 4.393 MB / 0.7932 GB, free: 24.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.7009, allocations: 2.906 kB / 0.7932 GB, free: 24.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7009, allocations: 0 / 0.7932 GB, free: 24.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.918e-05/0.701, allocations: 0 / 0.7932 GB, free: 24.41 MB / 0.5762 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.005565/0.7066, allocations: 3.23 MB / 0.7964 GB, free: 22.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.7067, allocations: 10.06 kB / 0.7964 GB, free: 22.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009466/0.7076, allocations: 327.2 kB / 0.7967 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003754/0.7114, allocations: 2.2 MB / 0.7989 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.11e-05/0.7115, allocations: 132.1 kB / 0.799 GB, free: 20.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.7117, allocations: 163.7 kB / 0.7991 GB, free: 20.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/0.7141, allocations: 1.612 MB / 0.8007 GB, free: 19.19 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.7141, allocations: 3.906 kB / 0.8007 GB, free: 19.19 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.7143, allocations: 67.25 kB / 0.8008 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/0.7143, allocations: 40.38 kB / 0.8008 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.716, allocations: 1.146 MB / 0.8019 GB, free: 18.55 MB / 0.5762 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.009112/0.7252, allocations: 7.922 MB / 0.8097 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007227/0.7259, allocations: 479.5 kB / 0.8101 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.7264, allocations: 331.8 kB / 0.8105 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004292/0.7268, allocations: 0.7486 MB / 0.8112 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.7268, allocations: 45.34 kB / 0.8112 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.585e-06/0.7268, allocations: 0 / 0.8112 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.001941/0.7288, allocations: 0.9884 MB / 0.8122 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.7288, allocations: 60.31 kB / 0.8123 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/0.7312, allocations: 2.338 MB / 0.8145 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.7313, allocations: 45.7 kB / 0.8146 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006627/0.732, allocations: 1.151 MB / 0.8157 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.7322, allocations: 221.9 kB / 0.8159 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002838/0.7325, allocations: 254.7 kB / 0.8162 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.388e-05/0.7325, allocations: 345.9 kB / 0.8165 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005395/0.7331, allocations: 357.9 kB / 0.8168 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007104/0.7338, allocations: 0.7541 MB / 0.8176 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.7349, allocations: 0.9755 MB / 0.8185 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.7349, allocations: 4 kB / 0.8185 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002005/0.7369, allocations: 1.295 MB / 0.8198 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.737, allocations: 11.98 kB / 0.8198 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.737, allocations: 8 kB / 0.8198 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/0.737, allocations: 16 kB / 0.8198 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008514/0.7379, allocations: 251.6 kB / 0.8201 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.7379, allocations: 15.94 kB / 0.8201 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.7394, allocations: 166.8 kB / 0.8202 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.862e-05/0.7395, allocations: 55.98 kB / 0.8203 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001166/0.7407, allocations: 0.7563 MB / 0.821 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000727/0.7414, allocations: 0.7426 MB / 0.8218 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001297/0.7427, allocations: 0.9483 MB / 0.8227 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.825e-06/0.7428, allocations: 7.984 kB / 0.8227 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002386/0.7451, allocations: 1.258 MB / 0.8239 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.7452, allocations: 11.94 kB / 0.8239 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.7452, allocations: 8 kB / 0.8239 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.7452, allocations: 12 kB / 0.8239 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008788/0.7461, allocations: 252.2 kB / 0.8242 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.7461, allocations: 23.94 kB / 0.8242 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.7478, allocations: 115.2 kB / 0.8243 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/0.7479, allocations: 59.92 kB / 0.8244 GB, free: 13.05 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003267/0.7482, allocations: 247.9 kB / 0.8246 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004924/0.7487, allocations: 241 kB / 0.8248 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.7505, allocations: 0.8819 MB / 0.8257 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.7505, allocations: 4 kB / 0.8257 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.7505, allocations: 11.98 kB / 0.8257 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009722/0.7515, allocations: 0.6816 MB / 0.8264 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004754/0.7563, allocations: 2.582 MB / 0.8289 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.7563, allocations: 0 / 0.8289 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/0.7568, allocations: 128 kB / 0.829 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/0.7569, allocations: 7.984 kB / 0.829 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/0.7569, allocations: 19.98 kB / 0.8291 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.7569, allocations: 7.938 kB / 0.8291 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.7569, allocations: 0 / 0.8291 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.7592, allocations: 1.309 MB / 0.8303 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.7603, allocations: 421.9 kB / 0.8307 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005376/0.7608, allocations: 12 kB / 0.8308 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.7621, allocations: 51.92 kB / 0.8308 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.7622, allocations: 44.45 kB / 0.8308 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.957e-05/0.7623, allocations: 35.91 kB / 0.8309 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002694/0.765, allocations: 1.569 MB / 0.8324 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/0.765, allocations: 0 / 0.8324 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003722/0.7687, allocations: 1.103 MB / 0.8335 GB, free: 3.547 MB / 0.5919 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 (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.0019/0.7706, allocations: 0.7513 MB / 0.8342 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002935/0.7736, allocations: 1.362 MB / 0.8356 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/0.7736, allocations: 0 / 0.8356 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005942/0.7742, allocations: 331 kB / 0.8359 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007337/0.7816, allocations: 1.388 MB / 0.8372 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007213/0.7888, allocations: 3.722 MB / 0.8409 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/0.7903, allocations: 1.59 MB / 0.8424 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006708/0.791, allocations: 183.3 kB / 0.8426 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of SimCode: time 7.71e-07/0.791, allocations: 0 / 0.8426 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Templates: time 0.05712/0.8481, allocations: 39.83 MB / 0.8815 GB, free: 2.91 MB / 0.6387 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)