Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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 1.746/1.746, allocations: 287.4 MB / 302.6 MB, free: 8.289 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.001041/0.001042, allocations: 179.6 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0007491/0.0007491, allocations: 88.41 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003992, allocations: 14.59 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1869, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01312/0.2001, allocations: 16.1 MB / 0.9945 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008094/0.2082, allocations: 7.081 MB / 1.001 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005646/0.2088, allocations: 19.88 kB / 1.001 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000654/0.2095, allocations: 190.9 kB / 1.002 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.2107, allocations: 0.4945 MB / 1.002 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.2122, allocations: 0.591 MB / 1.003 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008743/0.2131, allocations: 1.103 MB / 1.004 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/0.2134, allocations: 284.2 kB / 1.004 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004039/0.2138, allocations: 346.4 kB / 1.004 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.2141, allocations: 294.7 kB / 1.005 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.2141, allocations: 16 kB / 1.005 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008323/0.215, allocations: 0.5848 MB / 1.005 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.9e-05/0.2151, allocations: 115.6 kB / 1.005 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.77e-05/0.2152, allocations: 113.5 kB / 1.005 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005272/0.2157, allocations: 0.5807 MB / 1.006 GB, free: 140 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2157, allocations: 7.875 kB / 1.006 GB, free: 132 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2157, allocations: 0 / 1.006 GB, free: 132 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2157, allocations: 0 / 1.006 GB, free: 132 kB / 0.6198 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.001088/0.2168, allocations: 0.7865 MB / 1.007 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.2169, allocations: 12.03 kB / 1.007 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.197e-05/0.2169, allocations: 54.73 kB / 1.007 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.2171, allocations: 64.17 kB / 1.007 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005713/0.2177, allocations: 449.1 kB / 1.007 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.2177, allocations: 24.56 kB / 1.007 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.2177, allocations: 24 kB / 1.007 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.2182, allocations: 294.2 kB / 1.008 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2183, allocations: 0 / 1.008 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.2183, allocations: 8 kB / 1.008 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.2183, allocations: 8 kB / 1.008 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.2187, allocations: 202.1 kB / 1.008 GB, free: 14.11 MB / 0.6355 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.001729/0.2205, allocations: 1.48 MB / 1.009 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.2208, allocations: 166.8 kB / 1.009 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.221, allocations: 80.81 kB / 1.01 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/0.2224, allocations: 1.295 MB / 1.011 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.2224, allocations: 42.44 kB / 1.011 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.034e-06/0.2224, allocations: 0 / 1.011 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0006166/0.223, allocations: 265.1 kB / 1.011 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.2231, allocations: 51.41 kB / 1.011 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006395/0.2237, allocations: 0.5808 MB / 1.012 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.2238, allocations: 29.7 kB / 1.012 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.224, allocations: 272.1 kB / 1.012 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.224, allocations: 55.19 kB / 1.012 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.224, allocations: 4 kB / 1.012 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2242, allocations: 358.8 kB / 1.012 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.2244, allocations: 80.52 kB / 1.012 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.2246, allocations: 214.7 kB / 1.013 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.225, allocations: 239.5 kB / 1.013 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.225, allocations: 0 / 1.013 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000544/0.2256, allocations: 330.7 kB / 1.013 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.863e-05/0.2257, allocations: 153.7 kB / 1.013 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.2257, allocations: 4 kB / 1.013 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.2257, allocations: 4 kB / 1.013 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.226, allocations: 67.89 kB / 1.013 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.226, allocations: 7.938 kB / 1.013 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.2264, allocations: 47.67 kB / 1.013 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.2264, allocations: 15.98 kB / 1.013 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.301e-06/0.2264, allocations: 4 kB / 1.013 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004603/0.2269, allocations: 243.6 kB / 1.014 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.2269, allocations: 7.938 kB / 1.014 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.42e-06/0.2269, allocations: 4 kB / 1.014 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.2271, allocations: 63.91 kB / 1.014 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2272, allocations: 7.984 kB / 1.014 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.2275, allocations: 47.92 kB / 1.014 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.2275, allocations: 19.98 kB / 1.014 GB, free: 7.43 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.2277, allocations: 258.3 kB / 1.014 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.2278, allocations: 47.38 kB / 1.014 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005429/0.2283, allocations: 274.1 kB / 1.014 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.2284, allocations: 4 kB / 1.014 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2284, allocations: 4 kB / 1.014 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2284, allocations: 7.938 kB / 1.014 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009738/0.2294, allocations: 0.7396 MB / 1.015 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.2294, allocations: 4.094 kB / 1.015 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.2295, allocations: 35.92 kB / 1.015 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.2295, allocations: 4 kB / 1.015 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.2295, allocations: 3.984 kB / 1.015 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.2296, allocations: 7.938 kB / 1.015 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2296, allocations: 0 / 1.015 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.23, allocations: 360.9 kB / 1.016 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.2302, allocations: 160.4 kB / 1.016 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.2302, allocations: 3.984 kB / 1.016 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.2304, allocations: 19.98 kB / 1.016 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.2305, allocations: 23.86 kB / 1.016 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.2305, allocations: 4 kB / 1.016 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004208/0.2309, allocations: 410.8 kB / 1.016 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/0.231, allocations: 4 kB / 1.016 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007121/0.2317, allocations: 239.6 kB / 1.016 GB, free: 4.727 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 (17): * Single equations (assignments): 15 * 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.001666/0.2333, allocations: 1.266 MB / 1.018 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000708/0.2341, allocations: 334.2 kB / 1.018 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2341, allocations: 0 / 1.018 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.2343, allocations: 100.9 kB / 1.018 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.2357, allocations: 252.7 kB / 1.018 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.2395, allocations: 2.698 MB / 1.021 GB, free: 108 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.2399, allocations: 0.8468 MB / 1.022 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003855/0.2403, allocations: 100.6 kB / 1.022 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.2405, allocations: 163.4 kB / 1.022 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of SimCode: time 4.91e-07/0.2405, allocations: 0 / 1.022 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.2692, allocations: 14.32 MB / 1.036 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/0.2694, allocations: 235.3 kB / 1.036 GB, free: 0.6641 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.296/2.565, allocations: 0 / 1.036 GB, free: 0.6641 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)