Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.0007331/0.0007331, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007815/0.0007815, allocations: 171.9 kB / 16.58 MB, free: 6.855 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.224/1.224, allocations: 223.2 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6067/0.6067, allocations: 113.7 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002934, allocations: 12 kB / 493.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1342, allocations: 77.11 MB / 0.5569 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01389/0.1481, allocations: 15.98 MB / 0.5725 GB, free: 11.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00557/0.1537, allocations: 4.601 MB / 0.577 GB, free: 6.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000372/0.1541, allocations: 11.88 kB / 0.577 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006407/0.1548, allocations: 190.9 kB / 0.5772 GB, free: 6.781 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.1559, allocations: 0.4975 MB / 0.5777 GB, free: 6.281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.1574, allocations: 0.5935 MB / 0.5783 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.1585, allocations: 1.091 MB / 0.5793 GB, free: 4.602 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003967/0.1589, allocations: 262.7 kB / 0.5796 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005615/0.1595, allocations: 354.4 kB / 0.5799 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003566/0.1599, allocations: 290.7 kB / 0.5802 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.1599, allocations: 16 kB / 0.5802 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.1609, allocations: 0.5965 MB / 0.5808 GB, free: 3.094 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1611, allocations: 119.6 kB / 0.5809 GB, free: 2.977 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1612, allocations: 109.5 kB / 0.581 GB, free: 2.863 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006528/0.1618, allocations: 0.5965 MB / 0.5816 GB, free: 2.266 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1619, allocations: 0 / 0.5816 GB, free: 2.266 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1619, allocations: 0 / 0.5816 GB, free: 2.266 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1619, allocations: 0 / 0.5816 GB, free: 2.266 MB / 446.1 MB 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.00104/0.1629, allocations: 0.7902 MB / 0.5824 GB, free: 1.426 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.163, allocations: 12.03 kB / 0.5824 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.777e-05/0.163, allocations: 58.55 kB / 0.5824 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.1632, allocations: 67.19 kB / 0.5825 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.1637, allocations: 428.9 kB / 0.5829 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.1637, allocations: 20.56 kB / 0.5829 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.1638, allocations: 31.98 kB / 0.5829 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004788/0.1643, allocations: 286.3 kB / 0.5832 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1643, allocations: 7.922 kB / 0.5832 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.1643, allocations: 4 kB / 0.5832 GB, free: 476 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.1643, allocations: 8 kB / 0.5832 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.1647, allocations: 202.1 kB / 0.5834 GB, free: 268 kB / 446.1 MB 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.2252/0.3899, allocations: 1.475 MB / 0.5849 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.3902, allocations: 168.4 kB / 0.585 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.3904, allocations: 84.27 kB / 0.5851 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/0.3916, allocations: 1.295 MB / 0.5864 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.3917, allocations: 34.53 kB / 0.5864 GB, free: 32.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.3917, allocations: 0 / 0.5864 GB, free: 32.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005705/0.3922, allocations: 263.9 kB / 0.5867 GB, free: 32.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.3923, allocations: 61.53 kB / 0.5867 GB, free: 32.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006597/0.3929, allocations: 0.5731 MB / 0.5873 GB, free: 32.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.393, allocations: 30.92 kB / 0.5873 GB, free: 32.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.3932, allocations: 272.3 kB / 0.5876 GB, free: 32.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.3932, allocations: 52.78 kB / 0.5876 GB, free: 32.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.3932, allocations: 6.625 kB / 0.5876 GB, free: 32.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.3933, allocations: 358.1 kB / 0.588 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.3935, allocations: 77.86 kB / 0.588 GB, free: 32.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.3938, allocations: 212 kB / 0.5882 GB, free: 31.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.394, allocations: 103.2 kB / 0.5883 GB, free: 31.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.394, allocations: 0.7812 kB / 0.5883 GB, free: 31.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005615/0.3946, allocations: 332.9 kB / 0.5887 GB, free: 31.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/0.3947, allocations: 160.8 kB / 0.5888 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3947, allocations: 3 kB / 0.5888 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3947, allocations: 4.281 kB / 0.5888 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.3949, allocations: 68.95 kB / 0.5889 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.395, allocations: 8.281 kB / 0.5889 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.3953, allocations: 51.66 kB / 0.5889 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.3953, allocations: 14.38 kB / 0.589 GB, free: 31.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.3953, allocations: 7.672 kB / 0.589 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004622/0.3958, allocations: 244.1 kB / 0.5892 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.3958, allocations: 2.781 kB / 0.5892 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/0.3958, allocations: 4.672 kB / 0.5892 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.396, allocations: 70.41 kB / 0.5893 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3961, allocations: 4.234 kB / 0.5893 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.3963, allocations: 42.94 kB / 0.5893 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.3964, allocations: 15.38 kB / 0.5893 GB, free: 31.59 MB / 446.1 MB 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.0001597/0.3965, allocations: 256.1 kB / 0.5896 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.3966, allocations: 54.48 kB / 0.5896 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004964/0.3971, allocations: 271 kB / 0.5899 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3971, allocations: 2.953 kB / 0.5899 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3971, allocations: 5.234 kB / 0.5899 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3971, allocations: 0.7031 kB / 0.5899 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009138/0.398, allocations: 0.7439 MB / 0.5906 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3981, allocations: 1.641 kB / 0.5906 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.3982, allocations: 43.33 kB / 0.5907 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3982, allocations: 0 / 0.5907 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.3982, allocations: 7.906 kB / 0.5907 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3982, allocations: 1.812 kB / 0.5907 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3982, allocations: 10.3 kB / 0.5907 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.3986, allocations: 358.7 kB / 0.591 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.3988, allocations: 158.5 kB / 0.5912 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.377e-05/0.3988, allocations: 6.547 kB / 0.5912 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.399, allocations: 24.81 kB / 0.5912 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.3991, allocations: 14.73 kB / 0.5912 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.3991, allocations: 6.656 kB / 0.5912 GB, free: 30.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004088/0.3995, allocations: 416.3 kB / 0.5916 GB, free: 30.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3995, allocations: 0 / 0.5916 GB, free: 30.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006765/0.4002, allocations: 225.2 kB / 0.5918 GB, free: 30.14 MB / 446.1 MB 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.001407/0.4016, allocations: 1.285 MB / 0.5931 GB, free: 29.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006523/0.4023, allocations: 338 kB / 0.5934 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4023, allocations: 1.594 kB / 0.5934 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.4025, allocations: 91.31 kB / 0.5935 GB, free: 29.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.4036, allocations: 256.9 kB / 0.5938 GB, free: 29.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.4072, allocations: 2.706 MB / 0.5964 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.4075, allocations: 0.8524 MB / 0.5972 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003608/0.4079, allocations: 105.8 kB / 0.5973 GB, free: 27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.4081, allocations: 162.9 kB / 0.5975 GB, free: 26.89 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4081, allocations: 0.9844 kB / 0.5975 GB, free: 26.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.436, allocations: 14.27 MB / 0.6114 GB, free: 22.15 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/0.4362, allocations: 234.8 kB / 0.6116 GB, free: 21.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.3, allocations: 3.75 kB / 0.6117 GB, free: 21.9 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: