Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves",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.001656/0.001656, allocations: 179 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.5592/0.5592, allocations: 90.81 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.476/1.476, allocations: 221.3 MB / 348.3 MB, free: 12.55 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.0009034/0.0009035, allocations: 99.92 kB / 421.2 MB, free: 5.676 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.174e-05, allocations: 4 kB / 0.4897 GB, free: 46.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1641, allocations: 72.31 MB / 0.5603 GB, free: 6.328 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.208/1.373, allocations: 351.7 MB / 0.9037 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/1.373, allocations: 98.38 kB / 0.9038 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.725/3.098, allocations: 437.8 MB / 1.331 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.072e-06/3.098, allocations: 2.25 kB / 1.331 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001679/3.098, allocations: 35.23 kB / 1.331 GB, free: 115.8 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003504/3.102, allocations: 1.333 MB / 1.333 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/3.102, allocations: 15.7 kB / 1.333 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002503/3.102, allocations: 105.9 kB / 1.333 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007714/3.103, allocations: 147.2 kB / 1.333 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/3.105, allocations: 0.825 MB / 1.334 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.464e-05/3.106, allocations: 83.06 kB / 1.334 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004111/3.106, allocations: 121.8 kB / 1.334 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/3.107, allocations: 0.5966 MB / 1.335 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/3.107, allocations: 3.906 kB / 1.335 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.419e-05/3.107, allocations: 27.17 kB / 1.335 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/3.107, allocations: 15.06 kB / 1.335 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006651/3.108, allocations: 418.6 kB / 1.335 GB, free: 114.7 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.004899/3.113, allocations: 3.077 MB / 1.338 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/3.113, allocations: 319.8 kB / 1.338 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/3.113, allocations: 133.1 kB / 1.338 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002998/3.114, allocations: 342.9 kB / 1.339 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/3.114, allocations: 41.25 kB / 1.339 GB, free: 113 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.306e-06/3.114, allocations: 0 / 1.339 GB, free: 113 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0008591/3.115, allocations: 404.7 kB / 1.339 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/3.115, allocations: 57.78 kB / 1.339 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008264/3.116, allocations: 0.771 MB / 1.34 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/3.116, allocations: 58.08 kB / 1.34 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004692/3.116, allocations: 0.546 MB / 1.341 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.381e-05/3.116, allocations: 110.9 kB / 1.341 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/3.116, allocations: 12.41 kB / 1.341 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.634e-05/3.116, allocations: 335.3 kB / 1.341 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/3.117, allocations: 155.8 kB / 1.341 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/3.118, allocations: 1.398 MB / 1.342 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/3.118, allocations: 302.1 kB / 1.343 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/3.118, allocations: 3.719 kB / 1.343 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009711/3.119, allocations: 0.6022 MB / 1.343 GB, free: 111 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002268/3.12, allocations: 0.8056 MB / 1.344 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/3.12, allocations: 3.844 kB / 1.344 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/3.12, allocations: 3.875 kB / 1.344 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/3.121, allocations: 203 kB / 1.344 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/3.122, allocations: 2.963 MB / 1.347 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003422/3.126, allocations: 0.9065 MB / 1.348 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/3.126, allocations: 44.19 kB / 1.348 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/3.126, allocations: 7.031 kB / 1.348 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007286/3.126, allocations: 462.8 kB / 1.349 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/3.126, allocations: 0 / 1.349 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/3.126, allocations: 7.781 kB / 1.349 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/3.127, allocations: 167.8 kB / 1.349 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/3.127, allocations: 6.688 kB / 1.349 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003347/3.13, allocations: 0.8977 MB / 1.35 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.52e-05/3.13, allocations: 28.61 kB / 1.35 GB, free: 107.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002843/3.131, allocations: 159.4 kB / 1.35 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/3.131, allocations: 98.47 kB / 1.35 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/3.132, allocations: 0.5032 MB / 1.35 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.991e-05/3.132, allocations: 2.938 kB / 1.35 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/3.132, allocations: 0 / 1.35 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/3.132, allocations: 3.344 kB / 1.35 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/3.134, allocations: 1.236 MB / 1.352 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/3.134, allocations: 6.25 kB / 1.352 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/3.135, allocations: 122.3 kB / 1.352 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/3.135, allocations: 3.844 kB / 1.352 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/3.135, allocations: 15.88 kB / 1.352 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/3.136, allocations: 2.946 MB / 1.355 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/3.136, allocations: 3.75 kB / 1.355 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006838/3.136, allocations: 0.5869 MB / 1.355 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000377/3.137, allocations: 225.4 kB / 1.355 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/3.137, allocations: 7.812 kB / 1.355 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/3.138, allocations: 68.14 kB / 1.356 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/3.138, allocations: 33.98 kB / 1.356 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/3.138, allocations: 19.25 kB / 1.356 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007501/3.138, allocations: 0.584 MB / 1.356 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/3.138, allocations: 0 / 1.356 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002221/3.141, allocations: 0.6148 MB / 1.357 GB, free: 103 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002048/3.143, allocations: 1.805 MB / 1.359 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002476/3.145, allocations: 0.7872 MB / 1.359 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/3.145, allocations: 3.719 kB / 1.359 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004572/3.146, allocations: 205 kB / 1.359 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/3.148, allocations: 469.4 kB / 1.36 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/3.152, allocations: 1.327 MB / 1.361 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/3.152, allocations: 1.048 MB / 1.362 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001708/3.154, allocations: 282.5 kB / 1.363 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/3.154, allocations: 348.9 kB / 1.363 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of SimCode: time 8.61e-07/3.154, allocations: 0 / 1.363 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06955/3.224, allocations: 38.52 MB / 1.4 GB, free: 94.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/3.224, allocations: 223.3 kB / 1.401 GB, free: 94.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.449/6.673, allocations: 0 / 1.401 GB, free: 94.59 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValves.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)