Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.702/1.702, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 184.8 kB / 361.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000978/0.0009781, allocations: 90.34 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.122e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8087/0.8087, allocations: 115.3 MB / 0.9645 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.206/2.015, allocations: 400.6 MB / 1.356 GB, free: 166 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/2.015, allocations: 99.94 kB / 1.356 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.635/3.65, allocations: 425.7 MB / 1.771 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.433e-06/3.65, allocations: 0 / 1.771 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001829/3.65, allocations: 35.72 kB / 1.772 GB, free: 200.5 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003612/3.654, allocations: 1.323 MB / 1.773 GB, free: 199.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/3.654, allocations: 16.02 kB / 1.773 GB, free: 199.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008664/3.655, allocations: 154.4 kB / 1.773 GB, free: 198.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/3.657, allocations: 0.8117 MB / 1.774 GB, free: 198.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/3.657, allocations: 20 kB / 1.774 GB, free: 198.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004333/3.658, allocations: 80 kB / 1.774 GB, free: 198 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007658/3.659, allocations: 390.5 kB / 1.774 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008209/3.659, allocations: 0.5199 MB / 1.775 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/3.659, allocations: 0 / 1.775 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/3.66, allocations: 0 / 1.775 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/3.66, allocations: 19.95 kB / 1.775 GB, free: 197.1 MB / 0.9323 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.005/3.665, allocations: 2.898 MB / 1.778 GB, free: 194.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000456/3.665, allocations: 307.4 kB / 1.778 GB, free: 193.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/3.665, allocations: 133.4 kB / 1.778 GB, free: 193.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/3.666, allocations: 348.2 kB / 1.778 GB, free: 193.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/3.666, allocations: 46.77 kB / 1.778 GB, free: 193.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 1.883e-06/3.666, allocations: 0 / 1.778 GB, free: 193.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.001542/3.667, allocations: 474.8 kB / 1.779 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/3.667, allocations: 55.41 kB / 1.779 GB, free: 192.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007686/3.668, allocations: 0.6234 MB / 1.78 GB, free: 192 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002066/3.668, allocations: 37.64 kB / 1.78 GB, free: 191.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004752/3.669, allocations: 0.5553 MB / 1.78 GB, free: 191.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.151e-05/3.669, allocations: 110.3 kB / 1.78 GB, free: 191.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/3.669, allocations: 0 / 1.78 GB, free: 191.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.087e-05/3.669, allocations: 330 kB / 1.781 GB, free: 190.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/3.669, allocations: 149.5 kB / 1.781 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/3.67, allocations: 1.37 MB / 1.782 GB, free: 189 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/3.671, allocations: 372.6 kB / 1.782 GB, free: 188.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/3.671, allocations: 0 / 1.782 GB, free: 188.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001564/3.673, allocations: 0.6501 MB / 1.783 GB, free: 188 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002186/3.673, allocations: 0.8154 MB / 1.784 GB, free: 187.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/3.673, allocations: 0 / 1.784 GB, free: 187.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/3.673, allocations: 8 kB / 1.784 GB, free: 187.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/3.675, allocations: 211.1 kB / 1.784 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/3.676, allocations: 2.985 MB / 1.787 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003572/3.679, allocations: 0.8708 MB / 1.788 GB, free: 182.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/3.679, allocations: 35.98 kB / 1.788 GB, free: 182.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/3.679, allocations: 4 kB / 1.788 GB, free: 182.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001247/3.681, allocations: 492.8 kB / 1.788 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/3.681, allocations: 0 / 1.788 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/3.681, allocations: 8 kB / 1.788 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/3.681, allocations: 151.8 kB / 1.788 GB, free: 182.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/3.682, allocations: 12.19 kB / 1.788 GB, free: 182.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003557/3.685, allocations: 0.8591 MB / 1.789 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.129e-05/3.685, allocations: 27.98 kB / 1.789 GB, free: 181.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004936/3.686, allocations: 146.1 kB / 1.789 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001217/3.687, allocations: 432.5 kB / 1.79 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/3.687, allocations: 86.88 kB / 1.79 GB, free: 180.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/3.688, allocations: 0.5455 MB / 1.79 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/3.689, allocations: 7.938 kB / 1.79 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/3.689, allocations: 4 kB / 1.79 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/3.689, allocations: 7.938 kB / 1.79 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/3.691, allocations: 1.198 MB / 1.792 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/3.691, allocations: 4 kB / 1.792 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005356/3.692, allocations: 118.1 kB / 1.792 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/3.692, allocations: 4 kB / 1.792 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/3.692, allocations: 7.953 kB / 1.792 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/3.693, allocations: 2.958 MB / 1.795 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/3.693, allocations: 0 / 1.795 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/3.694, allocations: 0.6467 MB / 1.795 GB, free: 175 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/3.694, allocations: 207.8 kB / 1.795 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/3.694, allocations: 7.984 kB / 1.795 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006349/3.695, allocations: 63.86 kB / 1.796 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.493e-05/3.695, allocations: 31.91 kB / 1.796 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/3.695, allocations: 8 kB / 1.796 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006264/3.696, allocations: 480 kB / 1.796 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/3.696, allocations: 0 / 1.796 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0027/3.699, allocations: 0.5851 MB / 1.797 GB, free: 173.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002971/3.702, allocations: 1.881 MB / 1.798 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002551/3.704, allocations: 0.744 MB / 1.799 GB, free: 171 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/3.704, allocations: 0.75 kB / 1.799 GB, free: 171 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004496/3.705, allocations: 196.1 kB / 1.799 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/3.707, allocations: 406.4 kB / 1.8 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/3.71, allocations: 1.228 MB / 1.801 GB, free: 169.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/3.711, allocations: 1.051 MB / 1.802 GB, free: 168 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001648/3.712, allocations: 239.9 kB / 1.802 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003914/3.713, allocations: 351.3 kB / 1.803 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of SimCode: time 6.41e-07/3.713, allocations: 0 / 1.803 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07152/3.784, allocations: 32.29 MB / 1.834 GB, free: 135.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/3.785, allocations: 188.2 kB / 1.834 GB, free: 135.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.303/7.088, allocations: 0 / 1.834 GB, free: 135.4 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)