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: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007449/0.0007449, 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.0009284/0.0009285, allocations: 176.8 kB / 16.58 MB, free: 6.465 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.214/1.214, allocations: 223.2 MB / 240.6 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6256/0.6256, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002669/0.0002669, allocations: 8 kB / 493.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1232, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3052/0.4284, allocations: 104 MB / 0.6585 GB, free: 4.09 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02474/0.4532, allocations: 19.08 MB / 0.6771 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003923/0.4572, allocations: 91.38 kB / 0.6772 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003032/0.4602, allocations: 0.8928 MB / 0.6781 GB, free: 280 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00759/0.4678, allocations: 2.879 MB / 0.6809 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005754/0.4736, allocations: 2.38 MB / 0.6832 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008563/0.4822, allocations: 8.101 MB / 0.6911 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002657/0.4849, allocations: 1.826 MB / 0.6929 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00396/0.4888, allocations: 2.236 MB / 0.6951 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002511/0.4914, allocations: 1.921 MB / 0.697 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.4916, allocations: 88 kB / 0.6971 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.4942, allocations: 1.154 MB / 0.6982 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004798/0.4947, allocations: 497.7 kB / 0.6987 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006638/0.4954, allocations: 0.5666 MB / 0.6992 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.4984, allocations: 3.277 MB / 0.7024 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4984, allocations: 0 / 0.7024 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4984, allocations: 0 / 0.7024 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.58e-05/0.4985, allocations: 0 / 0.7024 GB, free: 7.305 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.003847/0.5023, allocations: 2.717 MB / 0.7051 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.5024, allocations: 12.02 kB / 0.7051 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002392/0.5026, allocations: 223.5 kB / 0.7053 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005325/0.5032, allocations: 324.2 kB / 0.7056 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002917/0.5061, allocations: 2.071 MB / 0.7076 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.56e-05/0.5062, allocations: 126.9 kB / 0.7077 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.5064, allocations: 164 kB / 0.7079 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/0.5088, allocations: 1.603 MB / 0.7095 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.5088, allocations: 0 / 0.7095 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.5089, allocations: 67.98 kB / 0.7095 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-05/0.509, allocations: 51.95 kB / 0.7096 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.5107, allocations: 1.139 MB / 0.7107 GB, free: 14.61 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.009192/0.5199, allocations: 7.909 MB / 0.7184 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/0.5206, allocations: 475.3 kB / 0.7189 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/0.5211, allocations: 323 kB / 0.7192 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005636/0.5217, allocations: 0.7601 MB / 0.7199 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.5217, allocations: 43.12 kB / 0.72 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=60): time 1.993e-06/0.5217, allocations: 0 / 0.72 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60): time 0.001694/0.5234, allocations: 1.004 MB / 0.7209 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.5234, allocations: 55.97 kB / 0.721 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002605/0.5261, allocations: 2.292 MB / 0.7232 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.483e-05/0.5262, allocations: 49.7 kB / 0.7233 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008539/0.527, allocations: 1.153 MB / 0.7244 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.5272, allocations: 217 kB / 0.7246 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.5272, allocations: 24 kB / 0.7246 GB, free: 15.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5274, allocations: 341.9 kB / 0.725 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005798/0.528, allocations: 350.4 kB / 0.7253 GB, free: 14.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008156/0.5288, allocations: 0.7384 MB / 0.726 GB, free: 14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/0.5295, allocations: 458.8 kB / 0.7265 GB, free: 13.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.5295, allocations: 4 kB / 0.7265 GB, free: 13.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001887/0.5314, allocations: 1.272 MB / 0.7277 GB, free: 12.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001853/0.5316, allocations: 350.9 kB / 0.728 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.5316, allocations: 8 kB / 0.728 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.5316, allocations: 16 kB / 0.7281 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008768/0.5325, allocations: 255.6 kB / 0.7283 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.5325, allocations: 23.86 kB / 0.7283 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.534, allocations: 246.2 kB / 0.7286 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.679e-05/0.5341, allocations: 55.92 kB / 0.7286 GB, free: 11.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.5341, allocations: 10.34 kB / 0.7286 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001541/0.5356, allocations: 1.023 MB / 0.7296 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.5357, allocations: 12.19 kB / 0.7296 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.5357, allocations: 12 kB / 0.7296 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008073/0.5365, allocations: 251.6 kB / 0.7299 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.396e-05/0.5365, allocations: 19.92 kB / 0.7299 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.5378, allocations: 222.6 kB / 0.7301 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-05/0.5379, allocations: 47.98 kB / 0.7302 GB, free: 9.637 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.0008894/0.5387, allocations: 0.583 MB / 0.7307 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.539, allocations: 237 kB / 0.731 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.5405, allocations: 0.8955 MB / 0.7318 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.5405, allocations: 8 kB / 0.7318 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5405, allocations: 0 / 0.7318 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009245/0.5414, allocations: 0.6931 MB / 0.7325 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/0.5449, allocations: 2.578 MB / 0.735 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.5449, allocations: 3.984 kB / 0.735 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/0.5454, allocations: 131.9 kB / 0.7352 GB, free: 4.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.5454, allocations: 4 kB / 0.7352 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.5455, allocations: 15.98 kB / 0.7352 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.5455, allocations: 4 kB / 0.7352 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5455, allocations: 3.953 kB / 0.7352 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.5472, allocations: 1.325 MB / 0.7365 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006059/0.5478, allocations: 457.8 kB / 0.7369 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.548, allocations: 16 kB / 0.7369 GB, free: 2.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009161/0.5489, allocations: 115.7 kB / 0.737 GB, free: 2.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/0.549, allocations: 48.45 kB / 0.7371 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-05/0.5491, allocations: 31.98 kB / 0.7371 GB, free: 2.332 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001821/0.5509, allocations: 1.53 MB / 0.7386 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.939e-06/0.5509, allocations: 0 / 0.7386 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002231/0.5532, allocations: 1.095 MB / 0.7397 GB, free: 15.7 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.003508/0.5567, allocations: 2.481 MB / 0.7421 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002122/0.5588, allocations: 1.342 MB / 0.7434 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5588, allocations: 1.312 kB / 0.7434 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004656/0.5593, allocations: 339.2 kB / 0.7437 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005217/0.5645, allocations: 1.392 MB / 0.7451 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02422/0.5888, allocations: 13.74 MB / 0.7585 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.5898, allocations: 1.602 MB / 0.7601 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002026/0.5919, allocations: 498.8 kB / 0.7606 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/0.5929, allocations: 0.9562 MB / 0.7615 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/0.593, allocations: 3.938 kB / 0.7615 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3033/0.8962, allocations: 65.01 MB / 0.825 GB, free: 207.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/0.8964, allocations: 234.9 kB / 0.8252 GB, free: 207.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.08/3.976, allocations: 0 / 0.8252 GB, free: 207.2 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) Environment - environmentSimulation: