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.001039/0.001039, allocations: 95.33 kB / 15.68 MB, free: 488 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.00134/0.00134, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.391/1.391, allocations: 223.2 MB / 240.5 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6609/0.6609, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003319, allocations: 8 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1586, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02283/0.1815, allocations: 14.72 MB / 0.5711 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008939/0.1905, allocations: 4.239 MB / 0.5752 GB, free: 8.672 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005409/0.1911, allocations: 7.938 kB / 0.5752 GB, free: 8.664 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.1923, allocations: 242.9 kB / 0.5755 GB, free: 8.426 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001929/0.1942, allocations: 0.5608 MB / 0.576 GB, free: 7.863 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.1972, allocations: 0.7458 MB / 0.5767 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.1984, allocations: 0.5972 MB / 0.5773 GB, free: 6.535 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005838/0.199, allocations: 262.7 kB / 0.5776 GB, free: 6.273 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007731/0.1998, allocations: 326.9 kB / 0.5779 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/0.2002, allocations: 227 kB / 0.5781 GB, free: 5.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.549e-05/0.2003, allocations: 12 kB / 0.5781 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.2016, allocations: 459.3 kB / 0.5786 GB, free: 5.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.2018, allocations: 111.6 kB / 0.5787 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.2019, allocations: 117.4 kB / 0.5788 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009739/0.2029, allocations: 0.5458 MB / 0.5793 GB, free: 4.492 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2029, allocations: 0 / 0.5793 GB, free: 4.492 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2029, allocations: 0 / 0.5793 GB, free: 4.492 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.2029, allocations: 0 / 0.5793 GB, free: 4.492 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.001591/0.2046, allocations: 0.7746 MB / 0.5801 GB, free: 3.668 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.2046, allocations: 15.97 kB / 0.5801 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.375e-05/0.2047, allocations: 58.53 kB / 0.5801 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.2049, allocations: 71.14 kB / 0.5802 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008751/0.2058, allocations: 417 kB / 0.5806 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.2059, allocations: 24.56 kB / 0.5806 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.444e-05/0.2059, allocations: 28 kB / 0.5806 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007355/0.2067, allocations: 286.2 kB / 0.5809 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.2067, allocations: 0 / 0.5809 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.2068, allocations: 16 kB / 0.5809 GB, free: 2.707 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.2068, allocations: 4 kB / 0.5809 GB, free: 2.703 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006566/0.2075, allocations: 202.1 kB / 0.5811 GB, free: 2.508 MB / 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.002644/0.2101, allocations: 1.488 MB / 0.5826 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/0.2106, allocations: 165.7 kB / 0.5827 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.327/0.5376, allocations: 1.275 MB / 0.584 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.5377, allocations: 38.06 kB / 0.584 GB, free: 34.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.705e-06/0.5377, allocations: 1.062 kB / 0.584 GB, free: 34.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007914/0.5385, allocations: 270.5 kB / 0.5843 GB, free: 34.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.5386, allocations: 54.12 kB / 0.5843 GB, free: 34.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008879/0.5395, allocations: 0.5784 MB / 0.5849 GB, free: 33.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.5395, allocations: 32.8 kB / 0.5849 GB, free: 33.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.5397, allocations: 270 kB / 0.5852 GB, free: 33.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.5398, allocations: 58.05 kB / 0.5852 GB, free: 33.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.5398, allocations: 5 kB / 0.5853 GB, free: 33.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5399, allocations: 358.6 kB / 0.5856 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.5401, allocations: 75.97 kB / 0.5857 GB, free: 33.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.5404, allocations: 209.8 kB / 0.5859 GB, free: 33.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.5407, allocations: 103.6 kB / 0.586 GB, free: 33.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5407, allocations: 1.094 kB / 0.586 GB, free: 33.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007295/0.5414, allocations: 316.5 kB / 0.5863 GB, free: 33.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000267/0.5417, allocations: 0.9634 MB / 0.5872 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.5417, allocations: 2.938 kB / 0.5872 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.5418, allocations: 7.797 kB / 0.5872 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.5421, allocations: 68.08 kB / 0.5873 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.5421, allocations: 12.5 kB / 0.5873 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.5424, allocations: 57.98 kB / 0.5874 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.5425, allocations: 10.12 kB / 0.5874 GB, free: 32.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.5425, allocations: 3.719 kB / 0.5874 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006143/0.5431, allocations: 247 kB / 0.5876 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.5432, allocations: 1.688 kB / 0.5876 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.5432, allocations: 7.891 kB / 0.5876 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.5434, allocations: 65.03 kB / 0.5877 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5435, allocations: 8.281 kB / 0.5877 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.5438, allocations: 47.41 kB / 0.5877 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.5438, allocations: 15.52 kB / 0.5877 GB, free: 32.18 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.0002663/0.5441, allocations: 256.9 kB / 0.588 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.816e-05/0.5442, allocations: 52.23 kB / 0.588 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007027/0.5449, allocations: 265.8 kB / 0.5883 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.5449, allocations: 2.469 kB / 0.5883 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5449, allocations: 0.9375 kB / 0.5883 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.5449, allocations: 1.078 kB / 0.5883 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.5462, allocations: 0.7553 MB / 0.589 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.5462, allocations: 1.312 kB / 0.589 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.5463, allocations: 34.97 kB / 0.5891 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.5463, allocations: 2.109 kB / 0.5891 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.5463, allocations: 11.44 kB / 0.5891 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5463, allocations: 2.062 kB / 0.5891 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5464, allocations: 5.484 kB / 0.5891 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.5468, allocations: 406.9 kB / 0.5895 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.547, allocations: 163 kB / 0.5896 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.5471, allocations: 4.391 kB / 0.5896 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.5473, allocations: 19.19 kB / 0.5896 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.5473, allocations: 13.56 kB / 0.5897 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.5474, allocations: 10.3 kB / 0.5897 GB, free: 31.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005241/0.5479, allocations: 413.2 kB / 0.5901 GB, free: 30.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5479, allocations: 0 / 0.5901 GB, free: 30.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009375/0.5488, allocations: 234.3 kB / 0.5903 GB, free: 30.91 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.001833/0.5507, allocations: 1.61 MB / 0.5919 GB, free: 29.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007656/0.5515, allocations: 329.2 kB / 0.5922 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5515, allocations: 1.312 kB / 0.5922 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.5517, allocations: 95.36 kB / 0.5923 GB, free: 29.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.5529, allocations: 245.4 kB / 0.5925 GB, free: 29.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.5551, allocations: 2.941 MB / 0.5954 GB, free: 27.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.5555, allocations: 0.8592 MB / 0.5962 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004019/0.5559, allocations: 105.6 kB / 0.5963 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.5561, allocations: 167 kB / 0.5965 GB, free: 26.23 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5561, allocations: 0 / 0.5965 GB, free: 26.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05027/0.6064, allocations: 14.02 MB / 0.6102 GB, free: 22 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.6067, allocations: 226.8 kB / 0.6104 GB, free: 21.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/3.336, allocations: 0 / 0.6104 GB, free: 21.76 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: