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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.563/0.563, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 221.3 MB / 348.3 MB, free: 456 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009922/0.000992, allocations: 102.9 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.404e-05, allocations: 4 kB / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4629, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8049/1.268, allocations: 354.1 MB / 0.9061 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/1.268, allocations: 96.94 kB / 0.9062 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.7644/2.033, allocations: 178.5 MB / 1.081 GB, free: 103 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/2.033, allocations: 0 / 1.081 GB, free: 103 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.022e-05/2.033, allocations: 19.98 kB / 1.081 GB, free: 102.9 MB / 0.6042 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.001276/2.034, allocations: 0.7747 MB / 1.081 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/2.034, allocations: 11.98 kB / 1.081 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.514e-05/2.034, allocations: 66.48 kB / 1.081 GB, free: 102 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/2.034, allocations: 63.33 kB / 1.081 GB, free: 102 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006684/2.035, allocations: 449.4 kB / 1.082 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/2.035, allocations: 24.56 kB / 1.082 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/2.035, allocations: 32 kB / 1.082 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/2.035, allocations: 270.2 kB / 1.082 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/2.036, allocations: 0 / 1.082 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/2.036, allocations: 8 kB / 1.082 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/2.036, allocations: 11.94 kB / 1.082 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/2.036, allocations: 158.1 kB / 1.082 GB, free: 101 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.001673/2.037, allocations: 1.507 MB / 1.084 GB, free: 99.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/2.038, allocations: 142.7 kB / 1.084 GB, free: 99.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.197e-05/2.038, allocations: 72.92 kB / 1.084 GB, free: 99.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/2.039, allocations: 1.319 MB / 1.085 GB, free: 97.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/2.039, allocations: 30.56 kB / 1.085 GB, free: 97.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/2.039, allocations: 0 / 1.085 GB, free: 97.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003349/2.039, allocations: 179.3 kB / 1.085 GB, free: 97.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/2.04, allocations: 51.41 kB / 1.086 GB, free: 97.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005106/2.04, allocations: 0.5125 MB / 1.086 GB, free: 96.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/2.04, allocations: 25.7 kB / 1.086 GB, free: 96.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/2.04, allocations: 279.8 kB / 1.086 GB, free: 96.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/2.04, allocations: 51.36 kB / 1.086 GB, free: 96.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/2.04, allocations: 4 kB / 1.086 GB, free: 96.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.05e-05/2.04, allocations: 358.8 kB / 1.087 GB, free: 96.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.146e-05/2.04, allocations: 56.5 kB / 1.087 GB, free: 96.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/2.041, allocations: 217.3 kB / 1.087 GB, free: 95.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/2.041, allocations: 87.14 kB / 1.087 GB, free: 95.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/2.041, allocations: 0 / 1.087 GB, free: 95.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003563/2.041, allocations: 280.9 kB / 1.087 GB, free: 95.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002546/2.041, allocations: 0.9728 MB / 1.088 GB, free: 94.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/2.041, allocations: 0 / 1.088 GB, free: 94.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/2.041, allocations: 4 kB / 1.088 GB, free: 94.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/2.042, allocations: 67.89 kB / 1.088 GB, free: 94.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/2.042, allocations: 4 kB / 1.088 GB, free: 94.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/2.042, allocations: 47.67 kB / 1.088 GB, free: 94.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/2.042, allocations: 19.98 kB / 1.088 GB, free: 94.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.343e-06/2.042, allocations: 4 kB / 1.088 GB, free: 94.23 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000281/2.042, allocations: 206.7 kB / 1.089 GB, free: 94.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/2.042, allocations: 4 kB / 1.089 GB, free: 94.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/2.042, allocations: 12.19 kB / 1.089 GB, free: 94.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/2.043, allocations: 67.84 kB / 1.089 GB, free: 93.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/2.043, allocations: 11.94 kB / 1.089 GB, free: 93.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/2.043, allocations: 43.77 kB / 1.089 GB, free: 93.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/2.043, allocations: 15.98 kB / 1.089 GB, free: 93.88 MB / 0.6042 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 () * 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 7.75e-05/2.043, allocations: 124.9 kB / 1.089 GB, free: 93.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/2.043, allocations: 47.34 kB / 1.089 GB, free: 93.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/2.043, allocations: 237.8 kB / 1.089 GB, free: 93.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/2.044, allocations: 0 / 1.089 GB, free: 93.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/2.044, allocations: 3.938 kB / 1.089 GB, free: 93.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/2.044, allocations: 4 kB / 1.089 GB, free: 93.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007313/2.044, allocations: 0.7239 MB / 1.09 GB, free: 92.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/2.044, allocations: 4 kB / 1.09 GB, free: 92.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/2.044, allocations: 31.98 kB / 1.09 GB, free: 92.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/2.044, allocations: 7.938 kB / 1.09 GB, free: 92.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/2.044, allocations: 0 / 1.09 GB, free: 92.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/2.044, allocations: 12.11 kB / 1.09 GB, free: 92.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/2.044, allocations: 3.938 kB / 1.09 GB, free: 92.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/2.045, allocations: 373.1 kB / 1.09 GB, free: 92.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/2.045, allocations: 160.3 kB / 1.09 GB, free: 92.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.145e-05/2.045, allocations: 8 kB / 1.09 GB, free: 92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/2.045, allocations: 23.92 kB / 1.09 GB, free: 91.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/2.045, allocations: 19.92 kB / 1.09 GB, free: 91.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/2.045, allocations: 8 kB / 1.091 GB, free: 91.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003537/2.046, allocations: 405.5 kB / 1.091 GB, free: 91.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/2.046, allocations: 0 / 1.091 GB, free: 91.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00081/2.046, allocations: 267.7 kB / 1.091 GB, free: 91.29 MB / 0.6042 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 () * 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.00171/2.048, allocations: 1.658 MB / 1.093 GB, free: 89.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004868/2.049, allocations: 303.4 kB / 1.093 GB, free: 89.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/2.049, allocations: 4.062 kB / 1.093 GB, free: 89.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/2.049, allocations: 71.91 kB / 1.093 GB, free: 89.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/2.05, allocations: 251.7 kB / 1.093 GB, free: 89.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/2.051, allocations: 0.7363 MB / 1.094 GB, free: 88.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/2.052, allocations: 0.8558 MB / 1.095 GB, free: 87.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004827/2.052, allocations: 184.2 kB / 1.095 GB, free: 87.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/2.052, allocations: 155.4 kB / 1.095 GB, free: 87.09 MB / 0.6042 GB Notification: Performance of SimCode: time 6.71e-07/2.052, allocations: 0 / 1.095 GB, free: 87.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/2.082, allocations: 17.13 MB / 1.112 GB, free: 70.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/2.082, allocations: 198.9 kB / 1.112 GB, free: 69.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.784/4.866, allocations: 0 / 1.112 GB, free: 69.95 MB / 0.6042 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/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)