Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.215/1.215, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000832/0.0008323, allocations: 169.6 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.204/1.204, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006423/0.0006424, allocations: 84.44 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002574, allocations: 9.188 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1292, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01013/0.1394, allocations: 17.2 MB / 0.913 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006553/0.146, allocations: 7.872 MB / 0.9207 GB, free: 42.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.1462, allocations: 15.88 kB / 0.9207 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.1468, allocations: 214.9 kB / 0.9209 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007703/0.1475, allocations: 0.5482 MB / 0.9214 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.1486, allocations: 0.641 MB / 0.9221 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006987/0.1493, allocations: 1.274 MB / 0.9233 GB, free: 40.24 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.1495, allocations: 284.7 kB / 0.9236 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.1499, allocations: 370.4 kB / 0.9239 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.1501, allocations: 318.5 kB / 0.9242 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.1502, allocations: 16 kB / 0.9242 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007976/0.151, allocations: 0.69 MB / 0.9249 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.786e-05/0.1511, allocations: 115.6 kB / 0.925 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.1512, allocations: 230.6 kB / 0.9253 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006231/0.1519, allocations: 0.8411 MB / 0.9261 GB, free: 37.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1519, allocations: 3.938 kB / 0.9261 GB, free: 37.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.32e-07/0.1519, allocations: 0 / 0.9261 GB, free: 37.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1519, allocations: 0 / 0.9261 GB, free: 37.38 MB / 0.6042 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.0007582/0.1526, allocations: 0.7865 MB / 0.9268 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.1527, allocations: 12.03 kB / 0.9269 GB, free: 36.53 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.1527, allocations: 62.72 kB / 0.9269 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1528, allocations: 60.28 kB / 0.927 GB, free: 36.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.1533, allocations: 461.5 kB / 0.9274 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1533, allocations: 20.56 kB / 0.9274 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.1533, allocations: 28 kB / 0.9275 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.1537, allocations: 284.5 kB / 0.9277 GB, free: 35.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1537, allocations: 4 kB / 0.9277 GB, free: 35.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.1537, allocations: 12 kB / 0.9277 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1537, allocations: 8 kB / 0.9278 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.1541, allocations: 206.1 kB / 0.928 GB, free: 35.34 MB / 0.6042 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.00118/0.1552, allocations: 1.289 MB / 0.9292 GB, free: 33.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.1555, allocations: 202.7 kB / 0.9294 GB, free: 33.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.1557, allocations: 92.81 kB / 0.9295 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.1567, allocations: 1.319 MB / 0.9308 GB, free: 32.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.1568, allocations: 46.55 kB / 0.9308 GB, free: 32.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.072e-06/0.1568, allocations: 3.938 kB / 0.9308 GB, free: 32.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005091/0.1573, allocations: 289.9 kB / 0.9311 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.1573, allocations: 55.41 kB / 0.9312 GB, free: 31.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.1577, allocations: 0.5769 MB / 0.9317 GB, free: 31.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1578, allocations: 29.7 kB / 0.9317 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1579, allocations: 256.3 kB / 0.932 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.1579, allocations: 63.09 kB / 0.9321 GB, free: 30.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.1579, allocations: 37.7 kB / 0.9321 GB, free: 30.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.23e-05/0.158, allocations: 362.9 kB / 0.9324 GB, free: 30.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.1581, allocations: 87.81 kB / 0.9325 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.1584, allocations: 211.9 kB / 0.9327 GB, free: 30.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.1587, allocations: 246.6 kB / 0.933 GB, free: 29.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1587, allocations: 0 / 0.933 GB, free: 29.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004508/0.1592, allocations: 332.7 kB / 0.9333 GB, free: 29.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.1592, allocations: 147.2 kB / 0.9334 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1592, allocations: 4 kB / 0.9334 GB, free: 29.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1592, allocations: 4 kB / 0.9334 GB, free: 29.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.1594, allocations: 75.89 kB / 0.9335 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1595, allocations: 7.938 kB / 0.9335 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.1597, allocations: 51.56 kB / 0.9336 GB, free: 29.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.1598, allocations: 12 kB / 0.9336 GB, free: 29.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.358e-06/0.1598, allocations: 4 kB / 0.9336 GB, free: 29.13 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003789/0.1602, allocations: 266.2 kB / 0.9338 GB, free: 28.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.1602, allocations: 4 kB / 0.9338 GB, free: 28.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-06/0.1602, allocations: 4 kB / 0.9338 GB, free: 28.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.1604, allocations: 72.08 kB / 0.9339 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.1604, allocations: 96 / 0.9339 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.1606, allocations: 51.69 kB / 0.9339 GB, free: 28.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.1607, allocations: 15.94 kB / 0.934 GB, free: 28.73 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (35): * Single equations (assignments): 35 * 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.0001214/0.1608, allocations: 265 kB / 0.9342 GB, free: 28.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.1608, allocations: 51.34 kB / 0.9343 GB, free: 28.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004368/0.1613, allocations: 309.4 kB / 0.9346 GB, free: 28.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1613, allocations: 4 kB / 0.9346 GB, free: 28.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1613, allocations: 0 / 0.9346 GB, free: 28.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.1613, allocations: 0 / 0.9346 GB, free: 28.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007282/0.162, allocations: 0.7785 MB / 0.9353 GB, free: 27.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.1621, allocations: 0 / 0.9353 GB, free: 27.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.1622, allocations: 43.92 kB / 0.9354 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1622, allocations: 0 / 0.9354 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1622, allocations: 4 kB / 0.9354 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1622, allocations: 0 / 0.9354 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1622, allocations: 7.984 kB / 0.9354 GB, free: 27.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.1628, allocations: 486.1 kB / 0.9358 GB, free: 26.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.487e-05/0.1629, allocations: 156.3 kB / 0.936 GB, free: 26.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.1629, allocations: 4 kB / 0.936 GB, free: 26.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.1631, allocations: 24.05 kB / 0.936 GB, free: 26.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.1632, allocations: 11.98 kB / 0.936 GB, free: 26.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1632, allocations: 11.98 kB / 0.936 GB, free: 26.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002894/0.1635, allocations: 410.8 kB / 0.9364 GB, free: 26.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1635, allocations: 0 / 0.9364 GB, free: 26.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005012/0.164, allocations: 239.7 kB / 0.9367 GB, free: 25.83 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * 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 (20): * Single equations (assignments): 18 * 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.001375/0.1654, allocations: 1.406 MB / 0.938 GB, free: 24.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005286/0.1659, allocations: 360.5 kB / 0.9384 GB, free: 24.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1659, allocations: 3.938 kB / 0.9384 GB, free: 24.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.1661, allocations: 103.9 kB / 0.9385 GB, free: 24.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.1672, allocations: 258.8 kB / 0.9387 GB, free: 23.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.1708, allocations: 4.264 MB / 0.9429 GB, free: 19.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.171, allocations: 0.8427 MB / 0.9437 GB, free: 18.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002634/0.1713, allocations: 104.3 kB / 0.9438 GB, free: 18.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.1714, allocations: 167.4 kB / 0.944 GB, free: 18.27 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1714, allocations: 0 / 0.944 GB, free: 18.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7127/0.8841, allocations: 14.52 MB / 0.9582 GB, free: 3.973 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/0.8843, allocations: 270.4 kB / 0.9584 GB, free: 3.613 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/3.595, allocations: 0 / 0.9584 GB, free: 3.613 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)