Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7001/0.7001, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 196.7 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.1 MB / 404.5 MB, free: 1.602 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008566/0.0008568, allocations: 91.42 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.398e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1466, allocations: 76.76 MB / 0.6283 GB, free: 9.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.213, allocations: 387.8 MB / 1.007 GB, free: 127.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003577/1.213, allocations: 100.7 kB / 1.007 GB, free: 127 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.256/3.469, allocations: 0.647 GB / 1.654 GB, free: 70.12 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.435e-06/3.47, allocations: 0.7031 kB / 1.654 GB, free: 70.12 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002184/3.47, allocations: 53.33 kB / 1.654 GB, free: 70.12 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.004147/3.474, allocations: 1.75 MB / 1.656 GB, free: 69.64 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/3.474, allocations: 13.28 kB / 1.656 GB, free: 69.64 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002449/3.474, allocations: 153.5 kB / 1.656 GB, free: 69.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007005/3.475, allocations: 203.1 kB / 1.656 GB, free: 69.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004487/3.479, allocations: 1.859 MB / 1.658 GB, free: 69.17 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/3.48, allocations: 85.34 kB / 1.658 GB, free: 69.17 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/3.48, allocations: 116.8 kB / 1.658 GB, free: 69.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/3.483, allocations: 1.151 MB / 1.659 GB, free: 69.04 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/3.483, allocations: 6.688 kB / 1.659 GB, free: 69.04 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/3.483, allocations: 44.14 kB / 1.659 GB, free: 69.04 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/3.483, allocations: 26.28 kB / 1.659 GB, free: 69.04 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/3.485, allocations: 0.8458 MB / 1.66 GB, free: 69.03 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.007926/3.493, allocations: 5.277 MB / 1.665 GB, free: 66.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/3.495, allocations: 435.8 kB / 1.666 GB, free: 66.45 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/3.495, allocations: 201.1 kB / 1.666 GB, free: 66.44 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005215/3.495, allocations: 0.66 MB / 1.667 GB, free: 65.69 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/3.495, allocations: 37.66 kB / 1.667 GB, free: 65.65 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 2.945e-06/3.495, allocations: 1.094 kB / 1.667 GB, free: 65.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38): time 0.00304/3.499, allocations: 0.7899 MB / 1.667 GB, free: 65.54 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/3.499, allocations: 56.11 kB / 1.667 GB, free: 65.48 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/3.501, allocations: 1.2 MB / 1.669 GB, free: 65.31 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/3.501, allocations: 40.58 kB / 1.669 GB, free: 65.28 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006271/3.501, allocations: 0.7418 MB / 1.669 GB, free: 65.08 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/3.502, allocations: 132.7 kB / 1.67 GB, free: 65.01 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/3.502, allocations: 16.41 kB / 1.67 GB, free: 65.01 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.663e-05/3.502, allocations: 338.8 kB / 1.67 GB, free: 64.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/3.502, allocations: 231.7 kB / 1.67 GB, free: 64.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/3.503, allocations: 0.5138 MB / 1.671 GB, free: 64.37 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/3.503, allocations: 317 kB / 1.671 GB, free: 64.37 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/3.503, allocations: 2.703 kB / 1.671 GB, free: 64.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001658/3.505, allocations: 0.8564 MB / 1.672 GB, free: 64.26 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004677/3.505, allocations: 2.248 MB / 1.674 GB, free: 61.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/3.505, allocations: 7.297 kB / 1.674 GB, free: 61.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/3.505, allocations: 15.56 kB / 1.674 GB, free: 61.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/3.507, allocations: 215.5 kB / 1.674 GB, free: 61.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-05/3.507, allocations: 13.94 kB / 1.674 GB, free: 61.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/3.508, allocations: 208.2 kB / 1.674 GB, free: 61.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.88e-05/3.508, allocations: 40.34 kB / 1.674 GB, free: 61.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/3.508, allocations: 2.75 kB / 1.674 GB, free: 61.86 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001067/3.509, allocations: 0.6254 MB / 1.675 GB, free: 61.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/3.509, allocations: 8.031 kB / 1.675 GB, free: 61.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/3.509, allocations: 9.406 kB / 1.675 GB, free: 61.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006617/3.51, allocations: 173.1 kB / 1.675 GB, free: 61.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/3.51, allocations: 16.31 kB / 1.675 GB, free: 61.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/3.511, allocations: 158.8 kB / 1.675 GB, free: 61.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/3.512, allocations: 33.59 kB / 1.675 GB, free: 61.82 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 93 * 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.0002482/3.512, allocations: 160.9 kB / 1.676 GB, free: 61.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/3.512, allocations: 144.9 kB / 1.676 GB, free: 61.63 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/3.513, allocations: 0.611 MB / 1.676 GB, free: 61.54 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/3.513, allocations: 7.594 kB / 1.676 GB, free: 61.54 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/3.513, allocations: 4.516 kB / 1.676 GB, free: 61.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006927/3.514, allocations: 0.6846 MB / 1.677 GB, free: 61.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/3.516, allocations: 1.043 MB / 1.678 GB, free: 60.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/3.516, allocations: 1.219 kB / 1.678 GB, free: 60.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/3.517, allocations: 127.1 kB / 1.678 GB, free: 60.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-06/3.517, allocations: 5.875 kB / 1.678 GB, free: 60.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/3.517, allocations: 8.859 kB / 1.678 GB, free: 60.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/3.517, allocations: 5.078 kB / 1.678 GB, free: 60.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/3.517, allocations: 4.078 kB / 1.678 GB, free: 60.89 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/3.518, allocations: 0.7719 MB / 1.679 GB, free: 60.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006857/3.519, allocations: 302.3 kB / 1.679 GB, free: 60.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/3.519, allocations: 6.516 kB / 1.679 GB, free: 60.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000901/3.52, allocations: 111 kB / 1.679 GB, free: 60.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/3.52, allocations: 24.31 kB / 1.679 GB, free: 60.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/3.52, allocations: 14.08 kB / 1.679 GB, free: 60.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001559/3.522, allocations: 0.9641 MB / 1.68 GB, free: 60.44 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.21e-07/3.522, allocations: 0 / 1.68 GB, free: 60.44 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002663/3.525, allocations: 0.7744 MB / 1.681 GB, free: 60.38 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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 Backend phase and start with SimCode phase: time 0.002884/3.527, allocations: 1.943 MB / 1.683 GB, free: 59.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001932/3.529, allocations: 0.9187 MB / 1.684 GB, free: 59.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/3.529, allocations: 4.062 kB / 1.684 GB, free: 59.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/3.53, allocations: 192.4 kB / 1.684 GB, free: 59.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004453/3.534, allocations: 0.8149 MB / 1.685 GB, free: 59.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/3.547, allocations: 2.976 MB / 1.688 GB, free: 58.97 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/3.548, allocations: 1.264 MB / 1.689 GB, free: 58.26 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00187/3.55, allocations: 424.5 kB / 1.689 GB, free: 58.24 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006108/3.55, allocations: 0.5571 MB / 1.69 GB, free: 58.23 MB / 0.6511 GB Notification: Performance of SimCode: time 9.31e-07/3.55, allocations: 2.156 kB / 1.69 GB, free: 58.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0687/3.619, allocations: 50.56 MB / 1.739 GB, free: 56.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/3.619, allocations: 198.8 kB / 1.739 GB, free: 55.92 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.649/7.268, allocations: 0 / 1.739 GB, free: 55.92 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)