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.732/1.732, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.001176/0.001176, allocations: 177.6 kB / 371.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 0.6305 GB, free: 9.961 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008845/0.0008846, allocations: 95.34 kB / 0.7439 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.0004448, allocations: 16.39 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2703, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.329, allocations: 401.3 MB / 1.371 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/1.329, allocations: 101.2 kB / 1.371 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.935/3.264, allocations: 430.3 MB / 1.792 GB, free: 215.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.803e-06/3.264, allocations: 0 / 1.792 GB, free: 215.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.00012/3.264, allocations: 37.2 kB / 1.792 GB, free: 215.3 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.003352/3.267, allocations: 1.508 MB / 1.793 GB, free: 214.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/3.267, allocations: 9.469 kB / 1.793 GB, free: 214.9 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/3.268, allocations: 102.1 kB / 1.793 GB, free: 214.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004179/3.268, allocations: 148.5 kB / 1.793 GB, free: 214.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/3.27, allocations: 0.8356 MB / 1.794 GB, free: 214.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/3.27, allocations: 86.05 kB / 1.794 GB, free: 214.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/3.27, allocations: 121.7 kB / 1.794 GB, free: 214.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/3.272, allocations: 0.6322 MB / 1.795 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/3.272, allocations: 0 / 1.795 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-05/3.272, allocations: 22.59 kB / 1.795 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/3.272, allocations: 18.38 kB / 1.795 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009538/3.273, allocations: 465.2 kB / 1.796 GB, free: 214.4 MB / 0.9323 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.005414/3.278, allocations: 3.078 MB / 1.799 GB, free: 213.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007733/3.279, allocations: 331.4 kB / 1.799 GB, free: 213.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003462/3.279, allocations: 345.5 kB / 1.799 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/3.279, allocations: 35.72 kB / 1.799 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 2.565e-06/3.279, allocations: 0 / 1.799 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.001558/3.281, allocations: 0.5633 MB / 1.8 GB, free: 212.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/3.281, allocations: 54.31 kB / 1.8 GB, free: 212.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/3.282, allocations: 0.7695 MB / 1.801 GB, free: 212.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002385/3.282, allocations: 56.83 kB / 1.801 GB, free: 212.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005253/3.283, allocations: 0.5553 MB / 1.801 GB, free: 212.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/3.283, allocations: 126.1 kB / 1.801 GB, free: 212.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/3.283, allocations: 14.83 kB / 1.801 GB, free: 212.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.725e-05/3.283, allocations: 328.3 kB / 1.802 GB, free: 211.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/3.283, allocations: 181.1 kB / 1.802 GB, free: 211.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/3.285, allocations: 1.43 MB / 1.803 GB, free: 210.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/3.285, allocations: 323.5 kB / 1.804 GB, free: 210.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/3.285, allocations: 3.969 kB / 1.804 GB, free: 210.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001412/3.287, allocations: 0.6504 MB / 1.804 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001932/3.287, allocations: 0.8086 MB / 1.805 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/3.287, allocations: 1.469 kB / 1.805 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/3.287, allocations: 5.812 kB / 1.805 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/3.288, allocations: 196.1 kB / 1.805 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/3.29, allocations: 2.964 MB / 1.808 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/3.294, allocations: 0.9141 MB / 1.809 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/3.294, allocations: 28.28 kB / 1.809 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/3.294, allocations: 4.25 kB / 1.809 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001182/3.295, allocations: 0.5103 MB / 1.809 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/3.295, allocations: 2.719 kB / 1.809 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/3.295, allocations: 5.375 kB / 1.81 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007425/3.296, allocations: 162.1 kB / 1.81 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/3.296, allocations: 6.812 kB / 1.81 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004183/3.3, allocations: 0.9036 MB / 1.811 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-05/3.3, allocations: 29.52 kB / 1.811 GB, free: 206.9 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 68 * 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.0008327/3.301, allocations: 328.7 kB / 1.811 GB, free: 206.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/3.301, allocations: 92.47 kB / 1.811 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/3.303, allocations: 0.5405 MB / 1.812 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/3.303, allocations: 8.641 kB / 1.812 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/3.303, allocations: 0 / 1.812 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/3.303, allocations: 1.219 kB / 1.812 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/3.305, allocations: 1.272 MB / 1.813 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/3.305, allocations: 1.797 kB / 1.813 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005711/3.306, allocations: 125.4 kB / 1.813 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/3.306, allocations: 4.641 kB / 1.813 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/3.306, allocations: 17.36 kB / 1.813 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/3.307, allocations: 2.94 MB / 1.816 GB, free: 203.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/3.307, allocations: 4.219 kB / 1.816 GB, free: 203.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/3.308, allocations: 0.6542 MB / 1.816 GB, free: 203 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006708/3.309, allocations: 219.4 kB / 1.817 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/3.309, allocations: 10.88 kB / 1.817 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000883/3.31, allocations: 67.11 kB / 1.817 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/3.31, allocations: 24.97 kB / 1.817 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/3.31, allocations: 18.8 kB / 1.817 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001137/3.312, allocations: 0.5937 MB / 1.817 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/3.312, allocations: 0 / 1.817 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003599/3.315, allocations: 0.6069 MB / 1.818 GB, free: 202.7 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 () * Number of clocked 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.002447/3.318, allocations: 1.855 MB / 1.82 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002806/3.32, allocations: 0.8095 MB / 1.821 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/3.321, allocations: 0 / 1.821 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005263/3.321, allocations: 235.6 kB / 1.821 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/3.323, allocations: 498.8 kB / 1.821 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004392/3.328, allocations: 3.499 MB / 1.825 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/3.328, allocations: 1.048 MB / 1.826 GB, free: 198.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001627/3.33, allocations: 203.7 kB / 1.826 GB, free: 198.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004852/3.33, allocations: 365.1 kB / 1.826 GB, free: 198.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.503e-06/3.33, allocations: 0 / 1.826 GB, free: 198.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06566/3.396, allocations: 36.52 MB / 1.862 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/3.396, allocations: 256.4 kB / 1.862 GB, free: 197.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.285/6.682, allocations: 6.891 kB / 1.862 GB, free: 197.2 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)