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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 179.1 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.5527/0.5527, allocations: 90.8 MB / 104.5 MB, free: 13.89 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.585/1.585, allocations: 221.3 MB / 348.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009591/0.000959, allocations: 94.06 kB / 421.1 MB, free: 5.672 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.983e-05/3.987e-05, allocations: 4 kB / 0.4897 GB, free: 46.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1693, allocations: 72.31 MB / 0.5603 GB, free: 6.293 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.182/1.352, allocations: 349.5 MB / 0.9017 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/1.352, allocations: 92.69 kB / 0.9018 GB, free: 122.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.7777/2.13, allocations: 178.5 MB / 1.076 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/2.13, allocations: 3.781 kB / 1.076 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.887e-05/2.13, allocations: 13.91 kB / 1.076 GB, free: 171.4 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0012/2.131, allocations: 0.7442 MB / 1.077 GB, free: 170.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/2.131, allocations: 13.39 kB / 1.077 GB, free: 170.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.838e-05/2.131, allocations: 52.44 kB / 1.077 GB, free: 170.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.417e-05/2.131, allocations: 58.44 kB / 1.077 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006508/2.132, allocations: 426.8 kB / 1.077 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/2.132, allocations: 22.19 kB / 1.077 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/2.132, allocations: 32.81 kB / 1.077 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/2.132, allocations: 188.7 kB / 1.078 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/2.132, allocations: 0 / 1.078 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/2.132, allocations: 12.44 kB / 1.078 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/2.132, allocations: 7.156 kB / 1.078 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/2.133, allocations: 131.9 kB / 1.078 GB, free: 170.6 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.001469/2.134, allocations: 0.9493 MB / 1.079 GB, free: 170.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/2.134, allocations: 124.6 kB / 1.079 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.523e-05/2.134, allocations: 54.38 kB / 1.079 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/2.135, allocations: 339.4 kB / 1.079 GB, free: 169.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/2.135, allocations: 40 kB / 1.079 GB, free: 169.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/2.135, allocations: 0 / 1.079 GB, free: 169.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0003269/2.135, allocations: 164.8 kB / 1.079 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/2.135, allocations: 58.77 kB / 1.079 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/2.135, allocations: 414.7 kB / 1.08 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/2.136, allocations: 33.33 kB / 1.08 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/2.136, allocations: 233 kB / 1.08 GB, free: 169.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/2.136, allocations: 52.44 kB / 1.08 GB, free: 169.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/2.136, allocations: 9.656 kB / 1.08 GB, free: 169.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.977e-05/2.136, allocations: 346 kB / 1.08 GB, free: 169 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.041e-05/2.136, allocations: 51.33 kB / 1.08 GB, free: 169 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/2.136, allocations: 161.9 kB / 1.081 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/2.136, allocations: 72.62 kB / 1.081 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/2.136, allocations: 0 / 1.081 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003118/2.137, allocations: 223.5 kB / 1.081 GB, free: 168.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.385e-05/2.137, allocations: 270.5 kB / 1.081 GB, free: 168.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/2.137, allocations: 7.859 kB / 1.081 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/2.137, allocations: 0 / 1.081 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/2.137, allocations: 49.56 kB / 1.081 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/2.137, allocations: 0 / 1.081 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/2.137, allocations: 59.2 kB / 1.081 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/2.137, allocations: 7.875 kB / 1.081 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/2.137, allocations: 7.188 kB / 1.081 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002492/2.138, allocations: 148.2 kB / 1.081 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/2.138, allocations: 0 / 1.081 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.95e-06/2.138, allocations: 7.531 kB / 1.081 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/2.138, allocations: 50.17 kB / 1.081 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/2.138, allocations: 11.14 kB / 1.081 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/2.138, allocations: 44.98 kB / 1.082 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/2.138, allocations: 15.28 kB / 1.082 GB, free: 168.5 MB / 0.6042 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.352e-05/2.138, allocations: 116.5 kB / 1.082 GB, free: 168.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/2.138, allocations: 49.47 kB / 1.082 GB, free: 168.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000425/2.139, allocations: 219.5 kB / 1.082 GB, free: 168.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/2.139, allocations: 0 / 1.082 GB, free: 168.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/2.139, allocations: 0 / 1.082 GB, free: 168.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/2.139, allocations: 3.953 kB / 1.082 GB, free: 168.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007295/2.14, allocations: 0.6876 MB / 1.083 GB, free: 168 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/2.14, allocations: 3.938 kB / 1.083 GB, free: 168 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/2.14, allocations: 34.45 kB / 1.083 GB, free: 168 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/2.14, allocations: 7.859 kB / 1.083 GB, free: 168 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/2.14, allocations: 0 / 1.083 GB, free: 168 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/2.14, allocations: 3.812 kB / 1.083 GB, free: 168 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/2.14, allocations: 8.25 kB / 1.083 GB, free: 168 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/2.14, allocations: 367.8 kB / 1.083 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/2.14, allocations: 141.7 kB / 1.083 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/2.14, allocations: 6.844 kB / 1.083 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/2.14, allocations: 26.72 kB / 1.083 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/2.141, allocations: 30.22 kB / 1.083 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/2.141, allocations: 3.812 kB / 1.083 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003046/2.141, allocations: 326.8 kB / 1.083 GB, free: 167.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/2.141, allocations: 0 / 1.083 GB, free: 167.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007474/2.142, allocations: 223.2 kB / 1.084 GB, free: 167.5 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 (16): * Single equations (assignments): 14 * 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.001843/2.143, allocations: 1.622 MB / 1.085 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000424/2.144, allocations: 244.3 kB / 1.086 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/2.144, allocations: 0 / 1.086 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/2.144, allocations: 74.31 kB / 1.086 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/2.145, allocations: 218.2 kB / 1.086 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/2.146, allocations: 0.627 MB / 1.086 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/2.147, allocations: 0.8385 MB / 1.087 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003767/2.147, allocations: 125 kB / 1.087 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/2.147, allocations: 132.7 kB / 1.087 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of SimCode: time 1.894e-06/2.147, allocations: 0 / 1.087 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/2.177, allocations: 14.69 MB / 1.102 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/2.177, allocations: 195.5 kB / 1.102 GB, free: 164.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/4.805, allocations: 3.75 kB / 1.102 GB, free: 164.5 MB / 0.6042 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/linux/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)