Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.001152/0.001152, allocations: 105.8 kB / 16.4 MB, free: 6.492 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.001201/0.001201, allocations: 189.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7389/0.7389, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 70.86 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1489, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01732/0.1663, allocations: 15.51 MB / 0.6467 GB, free: 5.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006356/0.1726, allocations: 4.346 MB / 0.651 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000818/0.1735, allocations: 15.88 kB / 0.651 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.1747, allocations: 250.4 kB / 0.6512 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.1766, allocations: 0.6082 MB / 0.6518 GB, free: 88 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.1785, allocations: 0.7106 MB / 0.6525 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001516/0.18, allocations: 1.025 MB / 0.6535 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000624/0.1807, allocations: 338.6 kB / 0.6539 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009038/0.1816, allocations: 434.3 kB / 0.6543 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006113/0.1822, allocations: 326.5 kB / 0.6546 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.229e-05/0.1823, allocations: 28 kB / 0.6546 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.1835, allocations: 0.6278 MB / 0.6552 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.1837, allocations: 99.59 kB / 0.6553 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.184, allocations: 230.7 kB / 0.6555 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.1855, allocations: 0.7642 MB / 0.6563 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1855, allocations: 0 / 0.6563 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.417e-06/0.1855, allocations: 0 / 0.6563 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.129e-05/0.1856, allocations: 7.938 kB / 0.6563 GB, free: 11.52 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001983/0.1875, allocations: 0.8174 MB / 0.6571 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1876, allocations: 12.03 kB / 0.6571 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.807e-05/0.1877, allocations: 58.73 kB / 0.6572 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.1878, allocations: 48.38 kB / 0.6572 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007098/0.1885, allocations: 445.1 kB / 0.6576 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.1886, allocations: 16.44 kB / 0.6576 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.1886, allocations: 28 kB / 0.6577 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.1891, allocations: 219.2 kB / 0.6579 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1891, allocations: 0 / 0.6579 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.1891, allocations: 4 kB / 0.6579 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.1891, allocations: 8 kB / 0.6579 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.1895, allocations: 165.6 kB / 0.658 GB, free: 9.613 MB / 0.4981 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.001796/0.1913, allocations: 0.9494 MB / 0.659 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.1917, allocations: 134.6 kB / 0.6591 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.1918, allocations: 68.81 kB / 0.6592 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/0.1921, allocations: 336.4 kB / 0.6595 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.1921, allocations: 30.56 kB / 0.6595 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.1922, allocations: 0 / 0.6595 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006143/0.1928, allocations: 246.7 kB / 0.6597 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.1928, allocations: 55.41 kB / 0.6598 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004806/0.1933, allocations: 474 kB / 0.6603 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1933, allocations: 29.7 kB / 0.6603 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.1935, allocations: 228.6 kB / 0.6605 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.1936, allocations: 47.38 kB / 0.6605 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.861e-05/0.1936, allocations: 65.59 kB / 0.6606 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1938, allocations: 362.7 kB / 0.661 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.1939, allocations: 72.67 kB / 0.661 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.1942, allocations: 155.6 kB / 0.6612 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.1945, allocations: 163.9 kB / 0.6613 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1945, allocations: 0 / 0.6613 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004872/0.195, allocations: 259 kB / 0.6616 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.195, allocations: 4 kB / 0.6616 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.195, allocations: 4 kB / 0.6616 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1951, allocations: 4 kB / 0.6616 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.1953, allocations: 47.91 kB / 0.6616 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1953, allocations: 0 / 0.6616 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.1956, allocations: 39.72 kB / 0.6617 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.1957, allocations: 7.984 kB / 0.6617 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002572/0.1959, allocations: 196 kB / 0.6619 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002271/0.1962, allocations: 167.3 kB / 0.662 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003028/0.1965, allocations: 168.2 kB / 0.6622 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.1965, allocations: 0 / 0.6622 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004611/0.1969, allocations: 252.1 kB / 0.6624 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.197, allocations: 7.938 kB / 0.6624 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.197, allocations: 3.938 kB / 0.6624 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/0.197, allocations: 4 kB / 0.6624 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.1972, allocations: 52.03 kB / 0.6625 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.1972, allocations: 0 / 0.6625 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.1975, allocations: 35.81 kB / 0.6625 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.1975, allocations: 11.98 kB / 0.6625 GB, free: 4.684 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001091/0.1977, allocations: 199.6 kB / 0.6627 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.1977, allocations: 43.44 kB / 0.6628 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005057/0.1982, allocations: 259 kB / 0.663 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.1983, allocations: 0 / 0.663 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1983, allocations: 0 / 0.663 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1983, allocations: 192 / 0.663 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009232/0.1992, allocations: 0.7006 MB / 0.6637 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.1992, allocations: 4 kB / 0.6637 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.1994, allocations: 31.97 kB / 0.6637 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1994, allocations: 4 kB / 0.6637 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1994, allocations: 11.92 kB / 0.6637 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1994, allocations: 3.938 kB / 0.6638 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1994, allocations: 0 / 0.6638 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.1999, allocations: 341.4 kB / 0.6641 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.2, allocations: 136.5 kB / 0.6642 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-05/0.2001, allocations: 11.94 kB / 0.6642 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.2003, allocations: 15.98 kB / 0.6642 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.2003, allocations: 15.92 kB / 0.6642 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.2003, allocations: 11.94 kB / 0.6643 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003237/0.2007, allocations: 334.9 kB / 0.6646 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2007, allocations: 0 / 0.6646 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006626/0.2013, allocations: 203.6 kB / 0.6648 GB, free: 2.273 MB / 0.4981 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 (16): * Single equations (assignments): 14 * 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.001698/0.203, allocations: 1.235 MB / 0.666 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006044/0.2037, allocations: 283.5 kB / 0.6663 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2037, allocations: 0 / 0.6663 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.2038, allocations: 83.89 kB / 0.6663 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009171/0.2048, allocations: 198.8 kB / 0.6665 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004033/0.2088, allocations: 3.321 MB / 0.6698 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.2092, allocations: 0.8231 MB / 0.6706 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000266/0.2095, allocations: 99.11 kB / 0.6707 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.2097, allocations: 139.4 kB / 0.6708 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.2097, allocations: 0 / 0.6708 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03552/0.2452, allocations: 13 MB / 0.6835 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.22, allocations: 9.312 kB / 0.6835 GB, free: 15.25 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)