Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.391/1.391, allocations: 288.4 MB / 303.6 MB, free: 8.074 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.0008306/0.0008308, allocations: 184.5 kB / 372.3 MB, free: 10.13 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.063/1.063, allocations: 205.4 MB / 0.631 GB, free: 9.938 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.0006797/0.0006797, allocations: 110.1 kB / 0.7444 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004118, allocations: 17.16 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1382, allocations: 115.3 MB / 0.9802 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01136/0.1496, allocations: 17.99 MB / 0.9978 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00723/0.1569, allocations: 7.732 MB / 1.005 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005597/0.1575, allocations: 23.75 kB / 1.005 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004624/0.158, allocations: 190.7 kB / 1.006 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.1592, allocations: 0.6662 MB / 1.006 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.1606, allocations: 0.7364 MB / 1.007 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001359/0.162, allocations: 1.695 MB / 1.009 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004345/0.1624, allocations: 424.8 kB / 1.009 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006089/0.163, allocations: 0.5563 MB / 1.009 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.1635, allocations: 493.9 kB / 1.01 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.085e-05/0.1636, allocations: 32 kB / 1.01 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00087/0.1644, allocations: 0.6237 MB / 1.011 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1646, allocations: 123.4 kB / 1.011 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.1648, allocations: 363.9 kB / 1.011 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006332/0.1655, allocations: 0.752 MB / 1.012 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1655, allocations: 0 / 1.012 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 8.02e-07/0.1655, allocations: 0 / 1.012 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.1655, allocations: 0 / 1.012 GB, free: 10.82 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001391/0.1669, allocations: 0.9891 MB / 1.013 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.1669, allocations: 8.031 kB / 1.013 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.706e-05/0.167, allocations: 90.7 kB / 1.013 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.65e-05/0.1671, allocations: 80 kB / 1.013 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005471/0.1677, allocations: 0.4987 MB / 1.013 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.1677, allocations: 37 kB / 1.013 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/0.1678, allocations: 48 kB / 1.013 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008999/0.1687, allocations: 0.6372 MB / 1.014 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1687, allocations: 0 / 1.014 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/0.1688, allocations: 20 kB / 1.014 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1688, allocations: 12 kB / 1.014 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009446/0.1697, allocations: 0.5151 MB / 1.015 GB, free: 7.727 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.002697/0.1724, allocations: 3.205 MB / 1.018 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/0.173, allocations: 356.3 kB / 1.018 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/0.1735, allocations: 244.5 kB / 1.018 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.1737, allocations: 348.4 kB / 1.019 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.1738, allocations: 38.56 kB / 1.019 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 1.293e-06/0.1738, allocations: 0 / 1.019 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.001872/0.1757, allocations: 0.8651 MB / 1.02 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.1757, allocations: 55.41 kB / 1.02 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.1762, allocations: 0.5704 MB / 1.02 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.1763, allocations: 37.64 kB / 1.02 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.1765, allocations: 332.4 kB / 1.021 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.07e-05/0.1765, allocations: 130.1 kB / 1.021 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.1766, allocations: 12 kB / 1.021 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1767, allocations: 374.7 kB / 1.021 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004437/0.1771, allocations: 221.2 kB / 1.021 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005109/0.1777, allocations: 368 kB / 1.022 GB, free: 208 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009413/0.1786, allocations: 0.5862 MB / 1.022 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1786, allocations: 0 / 1.022 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001256/0.1799, allocations: 0.7224 MB / 1.023 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.916e-05/0.18, allocations: 231.5 kB / 1.023 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.18, allocations: 4 kB / 1.023 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005149/0.1805, allocations: 148.7 kB / 1.023 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.1811, allocations: 155.8 kB / 1.023 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005281/0.1817, allocations: 0.6381 MB / 1.024 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.1822, allocations: 107.3 kB / 1.024 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/0.1822, allocations: 27.98 kB / 1.024 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.6e-06/0.1822, allocations: 4 kB / 1.024 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001105/0.1834, allocations: 0.6228 MB / 1.025 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1834, allocations: 7.938 kB / 1.025 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-06/0.1834, allocations: 8 kB / 1.025 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/0.184, allocations: 168.3 kB / 1.025 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.184, allocations: 11.98 kB / 1.025 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.1844, allocations: 91.42 kB / 1.025 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.1845, allocations: 35.98 kB / 1.025 GB, free: 12.48 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002119/0.1847, allocations: 266.5 kB / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.822e-05/0.1848, allocations: 63.16 kB / 1.025 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.1861, allocations: 0.6703 MB / 1.026 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1861, allocations: 4 kB / 1.026 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1861, allocations: 3.938 kB / 1.026 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.1861, allocations: 4.078 kB / 1.026 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.1882, allocations: 1.4 MB / 1.027 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1882, allocations: 96 / 1.027 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.1886, allocations: 95.88 kB / 1.027 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000359/0.1889, allocations: 136.7 kB / 1.028 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.189, allocations: 12 kB / 1.028 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000511/0.1895, allocations: 0.6383 MB / 1.028 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1895, allocations: 0 / 1.028 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.1907, allocations: 0.7243 MB / 1.029 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.1909, allocations: 200 kB / 1.029 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.1909, allocations: 11.98 kB / 1.029 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/0.1913, allocations: 55.86 kB / 1.029 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.1914, allocations: 35.89 kB / 1.029 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.1914, allocations: 12 kB / 1.029 GB, free: 8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003528/0.1918, allocations: 395.1 kB / 1.03 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1918, allocations: 4 kB / 1.03 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007636/0.1926, allocations: 391.4 kB / 1.03 GB, free: 7.234 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001769/0.1944, allocations: 1.461 MB / 1.031 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.1961, allocations: 0.9175 MB / 1.032 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1961, allocations: 0 / 1.032 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006192/0.1967, allocations: 307.8 kB / 1.033 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.1981, allocations: 264.8 kB / 1.033 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.203, allocations: 3.756 MB / 1.037 GB, free: 408 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.2033, allocations: 0.9116 MB / 1.037 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005117/0.2039, allocations: 163.2 kB / 1.038 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.2042, allocations: 243.3 kB / 1.038 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of SimCode: time 2.9e-07/0.2042, allocations: 4 kB / 1.038 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9691/1.173, allocations: 17.92 MB / 1.055 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/1.174, allocations: 283.3 kB / 1.056 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.879/4.052, allocations: 3.438 kB / 1.056 GB, free: 13.08 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)