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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4992/0.4992, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 349.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009684/0.0009681, allocations: 105.8 kB / 420 MB, free: 8.52 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009672/0.0009673, allocations: 51.92 kB / 0.4891 GB, free: 7.723 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3635, allocations: 70.06 MB / 0.5575 GB, free: 44.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09261/0.4561, allocations: 111.9 MB / 0.6668 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.03035/0.4865, allocations: 20.3 MB / 0.6866 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004185/0.4907, allocations: 95.38 kB / 0.6867 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.003684/0.4945, allocations: 1.053 MB / 0.6877 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.009558/0.5041, allocations: 3.376 MB / 0.691 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.007603/0.5117, allocations: 2.843 MB / 0.6938 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0116/0.5233, allocations: 9.581 MB / 0.7031 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003806/0.5271, allocations: 2.146 MB / 0.7052 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005396/0.5326, allocations: 2.419 MB / 0.7076 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003771/0.5364, allocations: 2.131 MB / 0.7097 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0007022/0.5371, allocations: 120 kB / 0.7098 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3207/0.8578, allocations: 1.471 MB / 0.7112 GB, free: 39.43 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.8591, allocations: 0.5668 MB / 0.7118 GB, free: 39.43 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002773/0.8618, allocations: 1.369 MB / 0.7131 GB, free: 39.43 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006437/0.8683, allocations: 4.249 MB / 0.7173 GB, free: 39.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.8683, allocations: 0 / 0.7173 GB, free: 39.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8683, allocations: 0 / 0.7173 GB, free: 39.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.316e-05/0.8684, allocations: 3.188 kB / 0.7173 GB, free: 39.2 MB / 0.5105 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.006527/0.875, allocations: 3.225 MB / 0.7204 GB, free: 37.79 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.875, allocations: 8.156 kB / 0.7204 GB, free: 37.79 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008659/0.8759, allocations: 328.9 kB / 0.7208 GB, free: 37.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003966/0.8799, allocations: 2.153 MB / 0.7229 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.971e-05/0.88, allocations: 125.4 kB / 0.723 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/0.8802, allocations: 171.5 kB / 0.7231 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/0.8831, allocations: 1.606 MB / 0.7247 GB, free: 36.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.713e-05/0.8831, allocations: 1.062 kB / 0.7247 GB, free: 36.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.8833, allocations: 64.38 kB / 0.7248 GB, free: 36.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/0.8833, allocations: 44.69 kB / 0.7248 GB, free: 36.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002698/0.886, allocations: 1.143 MB / 0.7259 GB, free: 36.84 MB / 0.5105 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.01145/0.8975, allocations: 7.892 MB / 0.7336 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007673/0.8983, allocations: 474.6 kB / 0.7341 GB, free: 33.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.8987, allocations: 319.3 kB / 0.7344 GB, free: 33.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004756/0.8992, allocations: 0.7562 MB / 0.7351 GB, free: 32.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.8993, allocations: 43.97 kB / 0.7352 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 2.424e-06/0.8993, allocations: 0 / 0.7352 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60): time 0.001999/0.9013, allocations: 0.993 MB / 0.7361 GB, free: 32.08 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.9013, allocations: 62.47 kB / 0.7362 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.9041, allocations: 2.308 MB / 0.7385 GB, free: 31.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001493/0.9043, allocations: 48.23 kB / 0.7385 GB, free: 31.74 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000763/0.905, allocations: 1.148 MB / 0.7396 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.9052, allocations: 218.7 kB / 0.7398 GB, free: 31.26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003295/0.9056, allocations: 251.8 kB / 0.7401 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.9057, allocations: 347 kB / 0.7404 GB, free: 30.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000586/0.9062, allocations: 371 kB / 0.7408 GB, free: 30.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008075/0.9071, allocations: 0.7401 MB / 0.7415 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.9083, allocations: 0.9815 MB / 0.7424 GB, free: 30.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.9083, allocations: 2.938 kB / 0.7424 GB, free: 30.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002216/0.9105, allocations: 1.29 MB / 0.7437 GB, free: 30.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.9106, allocations: 7.094 kB / 0.7437 GB, free: 30.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.9106, allocations: 17.47 kB / 0.7437 GB, free: 30.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.9106, allocations: 17.84 kB / 0.7437 GB, free: 30 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009053/0.9115, allocations: 252.1 kB / 0.744 GB, free: 30 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/0.9115, allocations: 18.98 kB / 0.744 GB, free: 30 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.9135, allocations: 251 kB / 0.7442 GB, free: 29.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.783e-05/0.9136, allocations: 52.02 kB / 0.7443 GB, free: 29.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001281/0.9149, allocations: 0.7616 MB / 0.745 GB, free: 29.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008218/0.9157, allocations: 0.738 MB / 0.7458 GB, free: 29.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001121/0.9168, allocations: 0.9523 MB / 0.7467 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.02e-06/0.9169, allocations: 2.5 kB / 0.7467 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002312/0.9192, allocations: 1.258 MB / 0.7479 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.9192, allocations: 13.75 kB / 0.7479 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.9192, allocations: 7.531 kB / 0.7479 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.9192, allocations: 14.06 kB / 0.7479 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008578/0.9201, allocations: 252.9 kB / 0.7482 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.9201, allocations: 23.62 kB / 0.7482 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/0.9223, allocations: 187.7 kB / 0.7484 GB, free: 28.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.704e-05/0.9224, allocations: 54.86 kB / 0.7484 GB, free: 28.84 MB / 0.5105 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.0004019/0.9228, allocations: 249.7 kB / 0.7487 GB, free: 28.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004924/0.9233, allocations: 236.6 kB / 0.7489 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.925, allocations: 0.8848 MB / 0.7498 GB, free: 28.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.925, allocations: 15.42 kB / 0.7498 GB, free: 28.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.925, allocations: 6.953 kB / 0.7498 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008654/0.9259, allocations: 0.6802 MB / 0.7505 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/0.9301, allocations: 2.572 MB / 0.753 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.9301, allocations: 0 / 0.753 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004848/0.9306, allocations: 131.9 kB / 0.7531 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.9306, allocations: 3.344 kB / 0.7531 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.9307, allocations: 14.41 kB / 0.7531 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.9307, allocations: 6.609 kB / 0.7531 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.9307, allocations: 2.938 kB / 0.7531 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01804/0.9487, allocations: 9.457 MB / 0.7624 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006354/0.9494, allocations: 414.9 kB / 0.7628 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.9496, allocations: 15 kB / 0.7628 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.9507, allocations: 116.8 kB / 0.7629 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.9508, allocations: 48.05 kB / 0.7629 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.9508, allocations: 30.41 kB / 0.763 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001889/0.9527, allocations: 1.552 MB / 0.7645 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9527, allocations: 0 / 0.7645 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004798/0.9576, allocations: 1.731 MB / 0.7662 GB, free: 24.88 MB / 0.5105 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.001668/0.9592, allocations: 0.7575 MB / 0.7669 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002276/0.9615, allocations: 1.351 MB / 0.7682 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9615, allocations: 0.5625 kB / 0.7682 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.962, allocations: 332.7 kB / 0.7685 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006596/0.9686, allocations: 1.378 MB / 0.7699 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005649/0.9743, allocations: 4.965 MB / 0.7747 GB, free: 19.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008756/0.9752, allocations: 1.613 MB / 0.7763 GB, free: 17.51 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002628/0.9778, allocations: 0.4987 MB / 0.7768 GB, free: 17 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/0.9783, allocations: 177.8 kB / 0.777 GB, free: 16.84 MB / 0.5105 GB Notification: Performance of SimCode: time 1.062e-06/0.9783, allocations: 4 kB / 0.777 GB, free: 16.84 MB / 0.5105 GB Notification: Performance of Templates: time 0.07355/1.052, allocations: 48.01 MB / 0.8238 GB, free: 1.633 MB / 0.5417 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)