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.001394/0.001394, allocations: 101.4 kB / 16.4 MB, free: 6.484 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.001579/0.001579, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7228/0.7228, allocations: 115.3 MB / 406.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 62.89 kB / 0.5572 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1619, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02138/0.1833, allocations: 17.44 MB / 0.6486 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007697/0.191, allocations: 4.91 MB / 0.6534 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007697/0.1918, allocations: 19.88 kB / 0.6534 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009964/0.1929, allocations: 254.4 kB / 0.6537 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.1949, allocations: 0.6102 MB / 0.6543 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.1973, allocations: 0.7255 MB / 0.655 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001667/0.1989, allocations: 0.9702 MB / 0.6559 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000664/0.1996, allocations: 331.8 kB / 0.6562 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000929/0.2006, allocations: 422.3 kB / 0.6567 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005755/0.2012, allocations: 322.6 kB / 0.657 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.51e-05/0.2012, allocations: 28 kB / 0.657 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.2027, allocations: 0.7292 MB / 0.6577 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.2028, allocations: 131.5 kB / 0.6578 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.2032, allocations: 238.7 kB / 0.6581 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.2049, allocations: 0.8888 MB / 0.6589 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2049, allocations: 0 / 0.6589 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2049, allocations: 0 / 0.6589 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.2049, allocations: 0 / 0.6589 GB, free: 8.832 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00143/0.2063, allocations: 0.8796 MB / 0.6598 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2064, allocations: 8.031 kB / 0.6598 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.317e-05/0.2065, allocations: 54.73 kB / 0.6598 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.2067, allocations: 64.19 kB / 0.6599 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007519/0.2074, allocations: 469.5 kB / 0.6603 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.2075, allocations: 20.56 kB / 0.6604 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.2075, allocations: 28 kB / 0.6604 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/0.208, allocations: 290.2 kB / 0.6607 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.208, allocations: 0 / 0.6607 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.2081, allocations: 8 kB / 0.6607 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.2081, allocations: 12 kB / 0.6607 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.2085, allocations: 190.1 kB / 0.6609 GB, free: 6.719 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.001877/0.2104, allocations: 1.472 MB / 0.6623 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.2107, allocations: 170.7 kB / 0.6625 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.2109, allocations: 80.81 kB / 0.6625 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/0.2124, allocations: 1.272 MB / 0.6638 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.2124, allocations: 38.44 kB / 0.6638 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/0.2124, allocations: 0 / 0.6638 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006248/0.213, allocations: 251.4 kB / 0.6641 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.2131, allocations: 55.41 kB / 0.6641 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006059/0.2137, allocations: 0.5886 MB / 0.6647 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.2137, allocations: 33.7 kB / 0.6647 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.2139, allocations: 268.1 kB / 0.665 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.214, allocations: 55.2 kB / 0.665 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.916e-05/0.2141, allocations: 73.88 kB / 0.6651 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2142, allocations: 358.8 kB / 0.6654 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.2144, allocations: 85.81 kB / 0.6655 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.2147, allocations: 214.7 kB / 0.6657 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.2151, allocations: 231.3 kB / 0.666 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2151, allocations: 3.938 kB / 0.666 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005851/0.2157, allocations: 316.7 kB / 0.6663 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2157, allocations: 8 kB / 0.6663 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2157, allocations: 4 kB / 0.6663 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2157, allocations: 4 kB / 0.6663 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.216, allocations: 59.89 kB / 0.6663 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.216, allocations: 8.188 kB / 0.6663 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.2163, allocations: 47.67 kB / 0.6664 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.2163, allocations: 12 kB / 0.6664 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002857/0.2166, allocations: 216.6 kB / 0.6666 GB, free: 384 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000268/0.2169, allocations: 209.6 kB / 0.6668 GB, free: 124 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003836/0.2173, allocations: 230 kB / 0.667 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-06/0.2173, allocations: 0 / 0.667 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005556/0.2179, allocations: 311.2 kB / 0.6673 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.2179, allocations: 7.938 kB / 0.6673 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2179, allocations: 4 kB / 0.6673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.711e-06/0.2179, allocations: 7.938 kB / 0.6673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.2181, allocations: 59.91 kB / 0.6674 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.2182, allocations: 4.25 kB / 0.6674 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.2185, allocations: 39.81 kB / 0.6674 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.2185, allocations: 12 kB / 0.6674 GB, free: 15.42 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.2186, allocations: 199.7 kB / 0.6676 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.2187, allocations: 55.28 kB / 0.6677 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005299/0.2193, allocations: 263.3 kB / 0.6679 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.2193, allocations: 4 kB / 0.6679 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2193, allocations: 4.188 kB / 0.668 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.2193, allocations: 7.922 kB / 0.668 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000996/0.2203, allocations: 0.7395 MB / 0.6687 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2203, allocations: 4 kB / 0.6687 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.2204, allocations: 27.98 kB / 0.6687 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2205, allocations: 0 / 0.6687 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.2205, allocations: 4 kB / 0.6687 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2205, allocations: 0 / 0.6687 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2205, allocations: 7.938 kB / 0.6687 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.221, allocations: 358.8 kB / 0.6691 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.2211, allocations: 140.5 kB / 0.6692 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.2212, allocations: 7.984 kB / 0.6692 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.2214, allocations: 12 kB / 0.6692 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.2214, allocations: 27.84 kB / 0.6692 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.2215, allocations: 4 kB / 0.6692 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004316/0.2219, allocations: 418.8 kB / 0.6696 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2219, allocations: 0 / 0.6696 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006995/0.2226, allocations: 231.7 kB / 0.6699 GB, free: 12.82 MB / 0.5137 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 (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.001796/0.2244, allocations: 1.264 MB / 0.6711 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007175/0.2252, allocations: 326.1 kB / 0.6714 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2252, allocations: 0 / 0.6714 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.2254, allocations: 83.83 kB / 0.6715 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.2265, allocations: 265.1 kB / 0.6717 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/0.2316, allocations: 3.931 MB / 0.6756 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.232, allocations: 0.8507 MB / 0.6764 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003339/0.2323, allocations: 104.2 kB / 0.6765 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.2325, allocations: 163.4 kB / 0.6767 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.2326, allocations: 3.938 kB / 0.6767 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04083/0.2734, allocations: 15.22 MB / 0.6915 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.436, allocations: 20.59 kB / 0.6916 GB, free: 6.734 MB / 0.5294 GB (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/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)