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.7916/0.7916, allocations: 128.7 MB / 143.7 MB, free: 2.305 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 183.2 kB / 173.7 MB, free: 6.109 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.786/1.786, allocations: 205.4 MB / 409 MB, free: 10.49 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.000878/0.0008779, allocations: 85.06 kB / 486.5 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004081, allocations: 9.031 kB / 0.5604 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1575, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.301/1.459, allocations: 387.9 MB / 1.014 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003488/1.459, allocations: 109.2 kB / 1.014 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.176/3.635, allocations: 0.6489 GB / 1.663 GB, free: 67.22 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.983e-06/3.635, allocations: 0 / 1.663 GB, free: 67.22 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003228/3.636, allocations: 59.91 kB / 1.663 GB, free: 67.16 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.00601/3.642, allocations: 2.049 MB / 1.665 GB, free: 65.05 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/3.642, allocations: 8.031 kB / 1.665 GB, free: 65.04 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005376/3.642, allocations: 160.1 kB / 1.665 GB, free: 64.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009677/3.643, allocations: 201.7 kB / 1.666 GB, free: 64.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005028/3.648, allocations: 1.883 MB / 1.668 GB, free: 62.76 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.773e-05/3.649, allocations: 82 kB / 1.668 GB, free: 62.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003511/3.649, allocations: 123.9 kB / 1.668 GB, free: 62.55 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003681/3.653, allocations: 1.233 MB / 1.669 GB, free: 61.29 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/3.653, allocations: 4 kB / 1.669 GB, free: 61.29 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/3.653, allocations: 40 kB / 1.669 GB, free: 61.25 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.394e-05/3.653, allocations: 28 kB / 1.669 GB, free: 61.22 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00269/3.656, allocations: 0.9485 MB / 1.67 GB, free: 60.27 MB / 0.6511 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.007978/3.664, allocations: 5.283 MB / 1.675 GB, free: 54.63 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/3.665, allocations: 0.4989 MB / 1.676 GB, free: 54.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004248/3.666, allocations: 0.6601 MB / 1.676 GB, free: 53.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/3.666, allocations: 47.12 kB / 1.676 GB, free: 53.26 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 3.186e-06/3.666, allocations: 0 / 1.676 GB, free: 53.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38): time 0.003903/3.67, allocations: 1.065 MB / 1.677 GB, free: 52.19 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/3.67, allocations: 55.41 kB / 1.677 GB, free: 52.12 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/3.672, allocations: 1.224 MB / 1.679 GB, free: 50.89 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/3.672, allocations: 45.7 kB / 1.679 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005893/3.673, allocations: 0.7396 MB / 1.679 GB, free: 50.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/3.673, allocations: 138 kB / 1.679 GB, free: 49.96 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/3.673, allocations: 16 kB / 1.679 GB, free: 49.94 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001091/3.673, allocations: 337.9 kB / 1.68 GB, free: 49.61 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006935/3.674, allocations: 309.8 kB / 1.68 GB, free: 49.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008104/3.675, allocations: 0.5949 MB / 1.681 GB, free: 48.57 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007848/3.675, allocations: 385.5 kB / 1.681 GB, free: 48.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/3.675, allocations: 3.938 kB / 1.681 GB, free: 48.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002161/3.677, allocations: 1.005 MB / 1.682 GB, free: 47.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005079/3.678, allocations: 2.24 MB / 1.684 GB, free: 44.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/3.678, allocations: 7.938 kB / 1.684 GB, free: 44.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.281e-05/3.678, allocations: 19.94 kB / 1.684 GB, free: 44.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009571/3.679, allocations: 211.7 kB / 1.684 GB, free: 44.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/3.679, allocations: 11.94 kB / 1.684 GB, free: 44.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/3.681, allocations: 206.7 kB / 1.685 GB, free: 44.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/3.681, allocations: 39.97 kB / 1.685 GB, free: 44.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/3.681, allocations: 4 kB / 1.685 GB, free: 44.25 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001048/3.682, allocations: 0.6686 MB / 1.685 GB, free: 43.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/3.682, allocations: 4.688 kB / 1.685 GB, free: 43.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/3.682, allocations: 15.94 kB / 1.685 GB, free: 43.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005925/3.683, allocations: 179.7 kB / 1.686 GB, free: 43.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/3.683, allocations: 11.94 kB / 1.686 GB, free: 43.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/3.684, allocations: 159 kB / 1.686 GB, free: 43.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.587e-05/3.684, allocations: 36 kB / 1.686 GB, free: 43.18 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 () * Number of clocked 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.001025/3.685, allocations: 428.6 kB / 1.686 GB, free: 42.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004949/3.686, allocations: 153.2 kB / 1.686 GB, free: 42.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/3.688, allocations: 0.7636 MB / 1.687 GB, free: 41.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/3.688, allocations: 4 kB / 1.687 GB, free: 41.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/3.688, allocations: 0 / 1.687 GB, free: 41.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001339/3.689, allocations: 0.8158 MB / 1.688 GB, free: 40.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/3.692, allocations: 1.043 MB / 1.689 GB, free: 39.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/3.692, allocations: 0 / 1.689 GB, free: 39.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006976/3.693, allocations: 123.8 kB / 1.689 GB, free: 39.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/3.693, allocations: 4 kB / 1.689 GB, free: 39.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/3.693, allocations: 11.98 kB / 1.689 GB, free: 39.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/3.693, allocations: 4 kB / 1.689 GB, free: 39.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/3.693, allocations: 0 / 1.689 GB, free: 39.68 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/3.695, allocations: 0.9801 MB / 1.69 GB, free: 38.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/3.696, allocations: 303.1 kB / 1.69 GB, free: 38.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004999/3.697, allocations: 8 kB / 1.69 GB, free: 38.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/3.698, allocations: 111.8 kB / 1.69 GB, free: 38.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/3.698, allocations: 23.95 kB / 1.69 GB, free: 38.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-05/3.698, allocations: 15.98 kB / 1.69 GB, free: 38.21 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00207/3.7, allocations: 0.9748 MB / 1.691 GB, free: 37.24 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/3.7, allocations: 0 / 1.691 GB, free: 37.24 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003015/3.703, allocations: 0.7759 MB / 1.692 GB, free: 36.46 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 () * Number of clocked 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.003521/3.707, allocations: 2.161 MB / 1.694 GB, free: 34.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002136/3.709, allocations: 1.02 MB / 1.695 GB, free: 33.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/3.709, allocations: 0 / 1.695 GB, free: 33.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005441/3.71, allocations: 271.9 kB / 1.695 GB, free: 33.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/3.713, allocations: 0.811 MB / 1.696 GB, free: 32.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01689/3.73, allocations: 8.318 MB / 1.704 GB, free: 23.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008873/3.731, allocations: 1.26 MB / 1.706 GB, free: 22.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001949/3.733, allocations: 309.6 kB / 1.706 GB, free: 22.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009691/3.734, allocations: 0.5852 MB / 1.706 GB, free: 21.61 MB / 0.6511 GB Notification: Performance of SimCode: time 1.423e-06/3.734, allocations: 0 / 1.706 GB, free: 21.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4598/4.194, allocations: 46.96 MB / 1.752 GB, free: 94.14 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/4.194, allocations: 230.9 kB / 1.753 GB, free: 93.91 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.499/7.693, allocations: 0 / 1.753 GB, free: 93.91 MB / 0.6667 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)