Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009689/0.000969, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 222.1 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.834/1.834, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005381/0.0005384, allocations: 17.97 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2359, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01713/0.253, allocations: 14.37 MB / 0.8014 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009769/0.2628, allocations: 6.689 MB / 0.808 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006858/0.2636, allocations: 19.81 kB / 0.808 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.2646, allocations: 202.9 kB / 0.8082 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.2665, allocations: 497.4 kB / 0.8087 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.2683, allocations: 0.5826 MB / 0.8092 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001463/0.2698, allocations: 1.122 MB / 0.8103 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005019/0.2703, allocations: 250.5 kB / 0.8106 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007416/0.271, allocations: 354.4 kB / 0.8109 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005207/0.2716, allocations: 298.7 kB / 0.8112 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.649e-05/0.2717, allocations: 16 kB / 0.8112 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.2727, allocations: 0.5263 MB / 0.8117 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.2728, allocations: 83.59 kB / 0.8118 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.273, allocations: 109.5 kB / 0.8119 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007382/0.2737, allocations: 0.5105 MB / 0.8124 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2737, allocations: 0 / 0.8124 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2738, allocations: 0 / 0.8124 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.2738, allocations: 0 / 0.8124 GB, free: 2.172 MB / 0.6231 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.001206/0.275, allocations: 0.7512 MB / 0.8131 GB, free: 1.371 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.275, allocations: 8.031 kB / 0.8131 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.633e-05/0.2751, allocations: 54.55 kB / 0.8132 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.2752, allocations: 63.27 kB / 0.8133 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006729/0.2759, allocations: 396.9 kB / 0.8136 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.276, allocations: 24.38 kB / 0.8137 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.276, allocations: 28 kB / 0.8137 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/0.2765, allocations: 219.2 kB / 0.8139 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.2765, allocations: 0 / 0.8139 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.2765, allocations: 12 kB / 0.8139 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.2765, allocations: 4 kB / 0.8139 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.2769, allocations: 169.6 kB / 0.8141 GB, free: 368 kB / 0.6231 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.001739/0.2787, allocations: 0.9418 MB / 0.815 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.279, allocations: 150.5 kB / 0.8151 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.2791, allocations: 72.81 kB / 0.8152 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003019/0.2794, allocations: 344.4 kB / 0.8155 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.2795, allocations: 30.56 kB / 0.8156 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 2.043e-06/0.2795, allocations: 0 / 0.8156 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.000636/0.2801, allocations: 253 kB / 0.8158 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.2802, allocations: 59.39 kB / 0.8159 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005145/0.2807, allocations: 465.9 kB / 0.8163 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.2807, allocations: 33.7 kB / 0.8163 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.2809, allocations: 224.6 kB / 0.8165 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.281, allocations: 47.3 kB / 0.8166 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-06/0.281, allocations: 4 kB / 0.8166 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.2812, allocations: 354.8 kB / 0.8169 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.2813, allocations: 75.81 kB / 0.817 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.2816, allocations: 155.7 kB / 0.8172 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.2818, allocations: 87.92 kB / 0.8172 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.2818, allocations: 3.953 kB / 0.8172 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004926/0.2823, allocations: 260.9 kB / 0.8175 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.502e-05/0.2824, allocations: 105.5 kB / 0.8176 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2824, allocations: 0 / 0.8176 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2824, allocations: 7.938 kB / 0.8176 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.2827, allocations: 55.91 kB / 0.8177 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.2827, allocations: 4 kB / 0.8177 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.283, allocations: 39.81 kB / 0.8177 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.283, allocations: 11.98 kB / 0.8177 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.481e-06/0.2831, allocations: 4 kB / 0.8177 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003702/0.2834, allocations: 187.8 kB / 0.8179 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2835, allocations: 3.953 kB / 0.8179 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-06/0.2835, allocations: 0 / 0.8179 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.2837, allocations: 51.91 kB / 0.8179 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.2837, allocations: 4.094 kB / 0.8179 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.284, allocations: 47.69 kB / 0.818 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.284, allocations: 15.98 kB / 0.818 GB, free: 12.06 MB / 0.6387 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.0001868/0.2842, allocations: 233.1 kB / 0.8182 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.2843, allocations: 51.38 kB / 0.8183 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005136/0.2848, allocations: 257.1 kB / 0.8185 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.2848, allocations: 4 kB / 0.8185 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2848, allocations: 4 kB / 0.8185 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2848, allocations: 0 / 0.8185 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000982/0.2858, allocations: 0.7161 MB / 0.8192 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.2858, allocations: 0 / 0.8192 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.286, allocations: 31.92 kB / 0.8193 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.286, allocations: 4 kB / 0.8193 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.286, allocations: 8 kB / 0.8193 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.286, allocations: 3.984 kB / 0.8193 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.286, allocations: 4 kB / 0.8193 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004516/0.2865, allocations: 357.3 kB / 0.8196 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.2866, allocations: 148.4 kB / 0.8198 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.2867, allocations: 0 / 0.8198 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.2869, allocations: 27.97 kB / 0.8198 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.287, allocations: 12.17 kB / 0.8198 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.287, allocations: 12 kB / 0.8198 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003737/0.2874, allocations: 326.9 kB / 0.8201 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2874, allocations: 0 / 0.8201 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007234/0.2881, allocations: 191.7 kB / 0.8203 GB, free: 9.57 MB / 0.6387 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.001803/0.2899, allocations: 1.266 MB / 0.8215 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006368/0.2906, allocations: 278.3 kB / 0.8218 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2906, allocations: 0 / 0.8218 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.2908, allocations: 88.12 kB / 0.8219 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.292, allocations: 225.7 kB / 0.8221 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/0.296, allocations: 2.245 MB / 0.8243 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/0.2966, allocations: 0.8308 MB / 0.8251 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003635/0.297, allocations: 79.56 kB / 0.8252 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.2972, allocations: 151.4 kB / 0.8253 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of SimCode: time 9.42e-07/0.2972, allocations: 0 / 0.8253 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.3257, allocations: 12.31 MB / 0.8374 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.3259, allocations: 234.5 kB / 0.8376 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/2.475, allocations: 4 kB / 0.8376 GB, free: 8.148 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) Environment - environmentSimulation: