Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.783/2.783, allocations: 287.5 MB / 302.4 MB, free: 8.211 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.001426/0.001426, allocations: 170.3 kB / 371 MB, free: 10.88 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.235/2.235, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009707/0.0009704, allocations: 95.11 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004903, allocations: 15.94 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2109, allocations: 115.3 MB / 0.9785 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01919/0.2301, allocations: 14.35 MB / 0.9925 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01326/0.2434, allocations: 6.708 MB / 0.999 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008252/0.2443, allocations: 19.81 kB / 0.999 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.2455, allocations: 198.9 kB / 0.9992 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.2476, allocations: 493.4 kB / 0.9997 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.2502, allocations: 0.5874 MB / 1 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001828/0.252, allocations: 1.115 MB / 1.001 GB, free: 4.773 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005838/0.2526, allocations: 259.8 kB / 1.002 GB, free: 4.516 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.2539, allocations: 358.4 kB / 1.002 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009816/0.255, allocations: 302.6 kB / 1.002 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.2552, allocations: 16 kB / 1.002 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.2575, allocations: 0.5224 MB / 1.003 GB, free: 3.328 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003149/0.2579, allocations: 87.59 kB / 1.003 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002731/0.2582, allocations: 105.5 kB / 1.003 GB, free: 3.133 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.2599, allocations: 0.5105 MB / 1.003 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.26, allocations: 0 / 1.003 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.809e-06/0.26, allocations: 3.984 kB / 1.003 GB, free: 2.617 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.26, allocations: 0 / 1.003 GB, free: 2.617 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.002013/0.262, allocations: 0.7434 MB / 1.004 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.2621, allocations: 12.03 kB / 1.004 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.2623, allocations: 58.53 kB / 1.004 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.2624, allocations: 59.3 kB / 1.004 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.2636, allocations: 389 kB / 1.005 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.2637, allocations: 28.42 kB / 1.005 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.762e-05/0.2638, allocations: 28 kB / 1.005 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008927/0.2647, allocations: 215.2 kB / 1.005 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.2648, allocations: 0 / 1.005 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.2648, allocations: 12 kB / 1.005 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.2649, allocations: 4 kB / 1.005 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009084/0.2658, allocations: 173.6 kB / 1.005 GB, free: 0.8125 MB / 0.6198 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.003647/0.2695, allocations: 0.9535 MB / 1.006 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007056/0.2702, allocations: 138.5 kB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/0.2707, allocations: 76.81 kB / 1.006 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005244/0.2712, allocations: 336.4 kB / 1.007 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.2713, allocations: 34.56 kB / 1.007 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 4.288e-06/0.2713, allocations: 0 / 1.007 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.00155/0.2729, allocations: 256.2 kB / 1.007 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.273, allocations: 51.41 kB / 1.007 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.2743, allocations: 465.9 kB / 1.007 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-05/0.2745, allocations: 29.7 kB / 1.007 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/0.2749, allocations: 240.5 kB / 1.008 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.275, allocations: 55.3 kB / 1.008 GB, free: 14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.275, allocations: 4 kB / 1.008 GB, free: 14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002475/0.2753, allocations: 354.7 kB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005261/0.2758, allocations: 75.81 kB / 1.008 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006376/0.2765, allocations: 147.7 kB / 1.008 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005745/0.2771, allocations: 91.94 kB / 1.008 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.2772, allocations: 3.938 kB / 1.008 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001394/0.2786, allocations: 256.9 kB / 1.009 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.2788, allocations: 113 kB / 1.009 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.2788, allocations: 4 kB / 1.009 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.2788, allocations: 0 / 1.009 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000673/0.2795, allocations: 43.97 kB / 1.009 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.21e-05/0.2796, allocations: 4 kB / 1.009 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.2806, allocations: 43.81 kB / 1.009 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.924e-05/0.2808, allocations: 12 kB / 1.009 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.2808, allocations: 11.89 kB / 1.009 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00117/0.282, allocations: 187.7 kB / 1.009 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.282, allocations: 0 / 1.009 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2821, allocations: 0 / 1.009 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.2827, allocations: 51.97 kB / 1.009 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2827, allocations: 0 / 1.009 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009637/0.2837, allocations: 47.75 kB / 1.009 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/0.2838, allocations: 8 kB / 1.009 GB, free: 12.52 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0005034/0.2843, allocations: 238.4 kB / 1.009 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.2845, allocations: 47.39 kB / 1.009 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.286, allocations: 262.3 kB / 1.01 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.2861, allocations: 4 kB / 1.01 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.2861, allocations: 0 / 1.01 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.2861, allocations: 3.984 kB / 1.01 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.2887, allocations: 0.7121 MB / 1.01 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.2888, allocations: 0 / 1.01 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000424/0.2892, allocations: 35.97 kB / 1.01 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.2893, allocations: 4.125 kB / 1.01 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.2893, allocations: 4 kB / 1.01 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.371e-05/0.2894, allocations: 7.938 kB / 1.01 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.2894, allocations: 4.094 kB / 1.01 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.2906, allocations: 354.2 kB / 1.011 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003587/0.291, allocations: 144.4 kB / 1.011 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.2911, allocations: 8 kB / 1.011 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/0.2918, allocations: 19.98 kB / 1.011 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.2919, allocations: 23.91 kB / 1.011 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/0.292, allocations: 4 kB / 1.011 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008867/0.2929, allocations: 326.9 kB / 1.011 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.81e-07/0.2929, allocations: 0 / 1.011 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001555/0.2945, allocations: 195.7 kB / 1.011 GB, free: 10.02 MB / 0.6355 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003734/0.2982, allocations: 1.26 MB / 1.013 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001751/0.3001, allocations: 276.7 kB / 1.013 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.3001, allocations: 4 kB / 1.013 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005224/0.3007, allocations: 91.83 kB / 1.013 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004437/0.3051, allocations: 218.1 kB / 1.013 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009268/0.3145, allocations: 2.249 MB / 1.015 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007377/0.3153, allocations: 0.8308 MB / 1.016 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008856/0.3162, allocations: 87.55 kB / 1.016 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004502/0.3167, allocations: 147.4 kB / 1.016 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of SimCode: time 1.693e-06/0.3167, allocations: 0 / 1.016 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06362/0.3803, allocations: 12.31 MB / 1.028 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003537/0.3808, allocations: 239.5 kB / 1.029 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.203/3.583, allocations: 3.938 kB / 1.029 GB, free: 8.59 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)