Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.395/1.395, allocations: 288.4 MB / 303.6 MB, free: 8.039 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.0008266/0.0008267, allocations: 172.5 kB / 372.3 MB, free: 10.1 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.07/1.07, allocations: 205.4 MB / 0.631 GB, free: 9.914 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.0006558/0.0006559, allocations: 108.9 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 12.31 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1366, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.009911/0.1466, allocations: 16.1 MB / 0.9959 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006062/0.1526, allocations: 7.093 MB / 1.003 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.1529, allocations: 11.94 kB / 1.003 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004561/0.1533, allocations: 190.9 kB / 1.003 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007308/0.1541, allocations: 0.53 MB / 1.004 GB, free: 3.234 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009758/0.1551, allocations: 0.5885 MB / 1.004 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006923/0.1558, allocations: 1.103 MB / 1.005 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.156, allocations: 281.8 kB / 1.005 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003468/0.1564, allocations: 370.4 kB / 1.006 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.1566, allocations: 294.7 kB / 1.006 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.1567, allocations: 16 kB / 1.006 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006995/0.1574, allocations: 0.651 MB / 1.007 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.636e-05/0.1575, allocations: 107.6 kB / 1.007 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.1577, allocations: 236.5 kB / 1.007 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005779/0.1583, allocations: 0.6157 MB / 1.008 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1583, allocations: 4 kB / 1.008 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1583, allocations: 0 / 1.008 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.1583, allocations: 0 / 1.008 GB, free: 14.98 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009095/0.1592, allocations: 0.7865 MB / 1.008 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.1592, allocations: 8.031 kB / 1.008 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.892e-05/0.1593, allocations: 62.73 kB / 1.009 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.1594, allocations: 68.17 kB / 1.009 GB, free: 14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.1599, allocations: 441.1 kB / 1.009 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.1599, allocations: 24.55 kB / 1.009 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.16, allocations: 28 kB / 1.009 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.1604, allocations: 290.2 kB / 1.009 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1604, allocations: 0 / 1.009 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.1605, allocations: 12 kB / 1.009 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1605, allocations: 4 kB / 1.009 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.1609, allocations: 206.1 kB / 1.01 GB, free: 12.95 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.001482/0.1623, allocations: 1.48 MB / 1.011 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.1626, allocations: 158.8 kB / 1.011 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.1628, allocations: 92.75 kB / 1.011 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.1641, allocations: 1.291 MB / 1.012 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.1641, allocations: 34.56 kB / 1.013 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.1641, allocations: 0 / 1.013 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0005295/0.1647, allocations: 267.5 kB / 1.013 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.1647, allocations: 55.41 kB / 1.013 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/0.1652, allocations: 0.5769 MB / 1.013 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.1653, allocations: 33.7 kB / 1.013 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.1654, allocations: 268.1 kB / 1.014 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.1655, allocations: 59.19 kB / 1.014 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.1655, allocations: 4 kB / 1.014 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.962e-05/0.1656, allocations: 358.8 kB / 1.014 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.1657, allocations: 72.52 kB / 1.014 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.166, allocations: 214.7 kB / 1.014 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.1664, allocations: 239.5 kB / 1.015 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1664, allocations: 4 kB / 1.015 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004912/0.1669, allocations: 324.7 kB / 1.015 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.268e-05/0.1669, allocations: 160.6 kB / 1.015 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.167, allocations: 8 kB / 1.015 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.167, allocations: 4 kB / 1.015 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.1672, allocations: 71.89 kB / 1.015 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1672, allocations: 7.938 kB / 1.015 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.1675, allocations: 43.67 kB / 1.015 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.1676, allocations: 23.98 kB / 1.015 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.42e-06/0.1676, allocations: 4 kB / 1.015 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004175/0.168, allocations: 243.8 kB / 1.015 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.168, allocations: 8 kB / 1.015 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-06/0.168, allocations: 4 kB / 1.015 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.1682, allocations: 63.91 kB / 1.016 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1682, allocations: 7.984 kB / 1.016 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.1685, allocations: 43.67 kB / 1.016 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.1685, allocations: 23.98 kB / 1.016 GB, free: 6.27 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.0001651/0.1687, allocations: 254.6 kB / 1.016 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.1688, allocations: 51.38 kB / 1.016 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.1692, allocations: 271.8 kB / 1.016 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.1693, allocations: 4 kB / 1.016 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1693, allocations: 3.938 kB / 1.016 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1693, allocations: 0 / 1.016 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008495/0.1701, allocations: 0.7524 MB / 1.017 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1701, allocations: 0 / 1.017 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.1703, allocations: 31.98 kB / 1.017 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1703, allocations: 0 / 1.017 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1703, allocations: 20.05 kB / 1.017 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1703, allocations: 0 / 1.017 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1703, allocations: 7.984 kB / 1.017 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.1707, allocations: 358.1 kB / 1.017 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.1708, allocations: 148.4 kB / 1.017 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.1709, allocations: 11.98 kB / 1.017 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.1711, allocations: 15.98 kB / 1.017 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.1711, allocations: 23.86 kB / 1.017 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.1712, allocations: 8 kB / 1.017 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003704/0.1715, allocations: 414.8 kB / 1.018 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1715, allocations: 0 / 1.018 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005571/0.1721, allocations: 223.6 kB / 1.018 GB, free: 3.582 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.001386/0.1735, allocations: 1.286 MB / 1.019 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005923/0.1741, allocations: 346.9 kB / 1.02 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1741, allocations: 0 / 1.02 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.1743, allocations: 83.89 kB / 1.02 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.1755, allocations: 262.1 kB / 1.02 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.1787, allocations: 2.692 MB / 1.023 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.179, allocations: 0.839 MB / 1.023 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002871/0.1793, allocations: 104.6 kB / 1.024 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.1795, allocations: 167.4 kB / 1.024 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.1795, allocations: 4 kB / 1.024 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6576/0.8371, allocations: 14.47 MB / 1.038 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.8374, allocations: 243.3 kB / 1.038 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.726/3.564, allocations: 6.656 kB / 1.038 GB, free: 15.25 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)