Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.0009974/0.0009974, allocations: 91.06 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.004784/0.004784, allocations: 170.8 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.14/1.14, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.514/1.514, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005753/0.0005752, allocations: 15.56 kB / 0.6744 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1831, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01513/0.1983, allocations: 16.94 MB / 0.8045 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009518/0.2078, allocations: 7.799 MB / 0.8122 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.2081, allocations: 19.88 kB / 0.8122 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006762/0.2088, allocations: 203 kB / 0.8124 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.2098, allocations: 0.556 MB / 0.8129 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.2112, allocations: 0.6323 MB / 0.8135 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.2123, allocations: 1.274 MB / 0.8148 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.2127, allocations: 274.7 kB / 0.815 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004813/0.2132, allocations: 370.3 kB / 0.8154 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.2135, allocations: 302.7 kB / 0.8157 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.2136, allocations: 20 kB / 0.8157 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000895/0.2145, allocations: 0.6822 MB / 0.8164 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.2146, allocations: 123.5 kB / 0.8165 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.2148, allocations: 248.4 kB / 0.8167 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0008729/0.2157, allocations: 0.8372 MB / 0.8175 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2157, allocations: 0 / 0.8175 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of FrontEnd: time 8.52e-07/0.2157, allocations: 0 / 0.8175 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2157, allocations: 0 / 0.8175 GB, free: 13.12 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001029/0.2167, allocations: 0.7864 MB / 0.8183 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2168, allocations: 12.03 kB / 0.8183 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.14e-05/0.2169, allocations: 62.72 kB / 0.8184 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.217, allocations: 60.19 kB / 0.8184 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/0.2175, allocations: 453.1 kB / 0.8189 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.2176, allocations: 20.56 kB / 0.8189 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.2176, allocations: 39.98 kB / 0.8189 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.2181, allocations: 278.3 kB / 0.8192 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2181, allocations: 3.938 kB / 0.8192 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.2182, allocations: 12 kB / 0.8192 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.2182, allocations: 11.98 kB / 0.8192 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004125/0.2186, allocations: 198.1 kB / 0.8194 GB, free: 11.09 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.001651/0.2202, allocations: 1.476 MB / 0.8209 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.2206, allocations: 174.7 kB / 0.821 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.2208, allocations: 88.81 kB / 0.8211 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/0.2222, allocations: 1.291 MB / 0.8224 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.2223, allocations: 34.56 kB / 0.8224 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.2223, allocations: 0 / 0.8224 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0005968/0.2229, allocations: 264.1 kB / 0.8226 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.2229, allocations: 55.34 kB / 0.8227 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/0.2235, allocations: 0.5847 MB / 0.8233 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.2235, allocations: 29.7 kB / 0.8233 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.2237, allocations: 272.1 kB / 0.8236 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.2238, allocations: 55.2 kB / 0.8236 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.2239, allocations: 29.7 kB / 0.8236 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.224, allocations: 362.8 kB / 0.824 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.2242, allocations: 76.52 kB / 0.8241 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.2245, allocations: 210.8 kB / 0.8243 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.2249, allocations: 245.2 kB / 0.8245 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.2249, allocations: 4 kB / 0.8245 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005592/0.2255, allocations: 335.5 kB / 0.8248 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-05/0.2256, allocations: 157.7 kB / 0.825 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2256, allocations: 4 kB / 0.825 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2256, allocations: 4 kB / 0.825 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.2258, allocations: 63.91 kB / 0.825 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.2259, allocations: 8 kB / 0.825 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.2262, allocations: 51.66 kB / 0.8251 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.2262, allocations: 12 kB / 0.8251 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.27e-06/0.2262, allocations: 4 kB / 0.8251 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004686/0.2267, allocations: 251.6 kB / 0.8253 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.2267, allocations: 7.938 kB / 0.8254 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.2267, allocations: 4 kB / 0.8254 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.2269, allocations: 64.16 kB / 0.8254 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.227, allocations: 11.94 kB / 0.8254 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.2273, allocations: 47.66 kB / 0.8255 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.2273, allocations: 16 kB / 0.8255 GB, free: 4.355 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001935/0.2275, allocations: 253 kB / 0.8257 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.2276, allocations: 55.38 kB / 0.8258 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.2281, allocations: 265.4 kB / 0.826 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.2281, allocations: 4 kB / 0.826 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2281, allocations: 4.094 kB / 0.826 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2281, allocations: 3.938 kB / 0.8261 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009731/0.2291, allocations: 0.7511 MB / 0.8268 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2291, allocations: 0 / 0.8268 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.2293, allocations: 39.97 kB / 0.8268 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2293, allocations: 0 / 0.8268 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.2293, allocations: 4 kB / 0.8268 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2293, allocations: 0 / 0.8268 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2293, allocations: 4 kB / 0.8268 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.2298, allocations: 375.8 kB / 0.8272 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.2299, allocations: 156.6 kB / 0.8273 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.23, allocations: 4 kB / 0.8273 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.2302, allocations: 19.98 kB / 0.8274 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.2302, allocations: 19.91 kB / 0.8274 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.2303, allocations: 8 kB / 0.8274 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004194/0.2307, allocations: 426.7 kB / 0.8278 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2307, allocations: 0 / 0.8278 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006317/0.2313, allocations: 231.6 kB / 0.828 GB, free: 1.641 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 (17): * Single equations (assignments): 15 * 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.001633/0.233, allocations: 1.271 MB / 0.8293 GB, free: 480 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006533/0.2336, allocations: 337 kB / 0.8296 GB, free: 148 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2337, allocations: 4.938 kB / 0.8296 GB, free: 144 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.2338, allocations: 95.95 kB / 0.8297 GB, free: 48 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.2352, allocations: 246 kB / 0.8299 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/0.2401, allocations: 4.193 MB / 0.834 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.2405, allocations: 0.839 MB / 0.8348 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003141/0.2408, allocations: 108.2 kB / 0.8349 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.2411, allocations: 167.4 kB / 0.8351 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.2411, allocations: 0 / 0.8351 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.513/1.754, allocations: 14.23 MB / 0.849 GB, free: 12.36 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.754, allocations: 255.8 kB / 0.8492 GB, free: 12.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.966/4.72, allocations: 0 / 0.8492 GB, free: 12.1 MB / 0.67 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)