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.000854/0.000854, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.004406/0.004406, allocations: 172.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.6/1.6, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0004883/0.0004884, allocations: 13.66 kB / 0.6744 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1788, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01337/0.1922, allocations: 15.12 MB / 0.8028 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008899/0.2011, allocations: 7.372 MB / 0.81 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004176/0.2016, allocations: 19.81 kB / 0.81 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006637/0.2022, allocations: 214.9 kB / 0.8102 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.2034, allocations: 0.5482 MB / 0.8107 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.2047, allocations: 0.6259 MB / 0.8113 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.2059, allocations: 1.302 MB / 0.8126 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003438/0.2063, allocations: 283.9 kB / 0.8129 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004507/0.2067, allocations: 358.3 kB / 0.8132 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.2071, allocations: 322.5 kB / 0.8135 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.2071, allocations: 12 kB / 0.8135 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007808/0.2079, allocations: 0.5926 MB / 0.8141 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 8.423e-05/0.208, allocations: 87.59 kB / 0.8142 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.2082, allocations: 240.4 kB / 0.8144 GB, free: 308 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007195/0.2089, allocations: 0.7164 MB / 0.8151 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2089, allocations: 0 / 0.8151 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2089, allocations: 0 / 0.8151 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2089, allocations: 0 / 0.8151 GB, free: 15.58 MB / 0.6387 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.0009109/0.2098, allocations: 0.7513 MB / 0.8159 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2099, allocations: 12.03 kB / 0.8159 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.2099, allocations: 58.72 kB / 0.8159 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.13e-05/0.21, allocations: 52.28 kB / 0.816 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/0.2105, allocations: 412.8 kB / 0.8164 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.2105, allocations: 16.44 kB / 0.8164 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.2105, allocations: 31.94 kB / 0.8164 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.2109, allocations: 219.2 kB / 0.8166 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2109, allocations: 3.938 kB / 0.8166 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.2109, allocations: 4 kB / 0.8166 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.211, allocations: 8 kB / 0.8166 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003466/0.2113, allocations: 177.6 kB / 0.8168 GB, free: 13.75 MB / 0.6387 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.001308/0.2126, allocations: 0.9496 MB / 0.8177 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.2129, allocations: 130.6 kB / 0.8179 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.213, allocations: 78.31 kB / 0.8179 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/0.2133, allocations: 348.4 kB / 0.8183 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.2133, allocations: 34.56 kB / 0.8183 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 2.294e-06/0.2133, allocations: 3.984 kB / 0.8183 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.000536/0.2139, allocations: 253 kB / 0.8185 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.2139, allocations: 55.41 kB / 0.8186 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.2143, allocations: 466 kB / 0.819 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.2144, allocations: 33.7 kB / 0.8191 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.2145, allocations: 224.6 kB / 0.8193 GB, free: 11 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.2146, allocations: 43.3 kB / 0.8193 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.2146, allocations: 33.7 kB / 0.8194 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2148, allocations: 354.7 kB / 0.8197 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.2149, allocations: 79.75 kB / 0.8198 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.2152, allocations: 159.6 kB / 0.8199 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.2155, allocations: 178.4 kB / 0.8201 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2156, allocations: 0 / 0.8201 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004752/0.216, allocations: 263.9 kB / 0.8203 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.08e-05/0.2161, allocations: 110.7 kB / 0.8205 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2161, allocations: 0 / 0.8205 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2161, allocations: 3.938 kB / 0.8205 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.2163, allocations: 47.97 kB / 0.8205 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2164, allocations: 3.938 kB / 0.8205 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.2167, allocations: 47.72 kB / 0.8206 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.2167, allocations: 19.98 kB / 0.8206 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.012e-06/0.2167, allocations: 4 kB / 0.8206 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003928/0.2171, allocations: 183.8 kB / 0.8208 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-06/0.2171, allocations: 4 kB / 0.8208 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-06/0.2171, allocations: 0 / 0.8208 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.2173, allocations: 47.97 kB / 0.8208 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.2173, allocations: 3.938 kB / 0.8208 GB, free: 9.375 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.2176, allocations: 55.69 kB / 0.8209 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.2176, allocations: 12 kB / 0.8209 GB, free: 9.309 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.2178, allocations: 241.7 kB / 0.8211 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.2179, allocations: 39.53 kB / 0.8211 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004997/0.2184, allocations: 260 kB / 0.8214 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.2184, allocations: 4 kB / 0.8214 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2184, allocations: 0 / 0.8214 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.2184, allocations: 0 / 0.8214 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008775/0.2193, allocations: 0.7148 MB / 0.8221 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2193, allocations: 4 kB / 0.8221 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.2194, allocations: 27.98 kB / 0.8221 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2194, allocations: 4.062 kB / 0.8221 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2195, allocations: 15.94 kB / 0.8221 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2195, allocations: 7.938 kB / 0.8221 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2195, allocations: 0 / 0.8221 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.2199, allocations: 346.5 kB / 0.8225 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.22, allocations: 152.4 kB / 0.8226 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.2201, allocations: 3.938 kB / 0.8226 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.2203, allocations: 35.91 kB / 0.8227 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.2203, allocations: 7.984 kB / 0.8227 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.2203, allocations: 8 kB / 0.8227 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003074/0.2207, allocations: 334.9 kB / 0.823 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2207, allocations: 0 / 0.823 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005166/0.2212, allocations: 195.7 kB / 0.8232 GB, free: 6.812 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001474/0.2227, allocations: 1.265 MB / 0.8244 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005564/0.2232, allocations: 283.7 kB / 0.8247 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2233, allocations: 4 kB / 0.8247 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.2234, allocations: 91.83 kB / 0.8248 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.2246, allocations: 211.5 kB / 0.825 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.2284, allocations: 3.533 MB / 0.8284 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.2288, allocations: 0.8234 MB / 0.8292 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002585/0.229, allocations: 91.38 kB / 0.8293 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.2292, allocations: 139.4 kB / 0.8295 GB, free: 364 kB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.2292, allocations: 0 / 0.8295 GB, free: 364 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3656/0.5948, allocations: 12.24 MB / 0.8414 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.5951, allocations: 256.8 kB / 0.8417 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.568, allocations: 0 / 0.8417 GB, free: 4.117 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/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)