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.001174/0.001174, allocations: 182.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4858/0.4858, allocations: 91.98 MB / 108.5 MB, free: 13.06 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.578/1.578, allocations: 223.1 MB / 354.3 MB, free: 12.2 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.001079/0.001079, allocations: 99.14 kB / 427.4 MB, free: 3.934 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1606, allocations: 72.3 MB / 0.5689 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.24/1.4, allocations: 351.7 MB / 0.9124 GB, free: 114 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/1.401, allocations: 98.44 kB / 0.9125 GB, free: 114 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.734/3.135, allocations: 438.9 MB / 1.341 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/3.135, allocations: 0 / 1.341 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001764/3.135, allocations: 39.48 kB / 1.341 GB, free: 117.2 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.00458/3.14, allocations: 1.521 MB / 1.343 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/3.14, allocations: 11.62 kB / 1.343 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000261/3.14, allocations: 97.14 kB / 1.343 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007628/3.141, allocations: 153.2 kB / 1.343 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002523/3.144, allocations: 0.8424 MB / 1.344 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.872e-05/3.144, allocations: 83.06 kB / 1.344 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003754/3.144, allocations: 121.4 kB / 1.344 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/3.145, allocations: 0.63 MB / 1.345 GB, free: 116 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/3.145, allocations: 1.5 kB / 1.345 GB, free: 116 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-05/3.145, allocations: 25.91 kB / 1.345 GB, free: 116 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/3.145, allocations: 11.22 kB / 1.345 GB, free: 116 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008834/3.146, allocations: 474.3 kB / 1.345 GB, free: 116 MB / 0.6042 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.005168/3.151, allocations: 3.073 MB / 1.348 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/3.152, allocations: 337.4 kB / 1.348 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/3.152, allocations: 348.1 kB / 1.349 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/3.152, allocations: 37.5 kB / 1.349 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.505e-06/3.152, allocations: 5.25 kB / 1.349 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001386/3.154, allocations: 0.5631 MB / 1.349 GB, free: 114.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/3.154, allocations: 54.47 kB / 1.349 GB, free: 114.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009764/3.155, allocations: 0.7825 MB / 1.35 GB, free: 114 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002155/3.155, allocations: 59.58 kB / 1.35 GB, free: 114 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000486/3.155, allocations: 0.5462 MB / 1.351 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.79e-05/3.156, allocations: 116.8 kB / 1.351 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/3.156, allocations: 14.56 kB / 1.351 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.804e-05/3.156, allocations: 330.1 kB / 1.351 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/3.156, allocations: 184.1 kB / 1.351 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/3.158, allocations: 1.43 MB / 1.353 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/3.158, allocations: 313.7 kB / 1.353 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/3.158, allocations: 0 / 1.353 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001308/3.159, allocations: 0.6586 MB / 1.354 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002185/3.16, allocations: 0.8063 MB / 1.354 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/3.16, allocations: 0 / 1.354 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/3.16, allocations: 9.953 kB / 1.354 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/3.161, allocations: 194.9 kB / 1.355 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/3.162, allocations: 2.969 MB / 1.358 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00344/3.166, allocations: 0.909 MB / 1.358 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.18e-05/3.166, allocations: 32.98 kB / 1.358 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/3.166, allocations: 8.25 kB / 1.358 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009323/3.167, allocations: 0.5073 MB / 1.359 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/3.167, allocations: 7.938 kB / 1.359 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/3.167, allocations: 6.75 kB / 1.359 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/3.167, allocations: 158.5 kB / 1.359 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/3.167, allocations: 9.656 kB / 1.359 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003396/3.171, allocations: 0.8977 MB / 1.36 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.464e-05/3.171, allocations: 32.34 kB / 1.36 GB, free: 108.4 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 () * Number of clocked 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.0007906/3.172, allocations: 330.4 kB / 1.36 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/3.172, allocations: 94.19 kB / 1.36 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/3.174, allocations: 0.5376 MB / 1.361 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/3.174, allocations: 7.672 kB / 1.361 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/3.174, allocations: 3.875 kB / 1.361 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/3.174, allocations: 2.094 kB / 1.361 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/3.177, allocations: 1.291 MB / 1.362 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/3.177, allocations: 9.656 kB / 1.362 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007077/3.177, allocations: 118.9 kB / 1.362 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/3.177, allocations: 0 / 1.362 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/3.177, allocations: 12.27 kB / 1.362 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/3.178, allocations: 2.943 MB / 1.365 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/3.179, allocations: 0 / 1.365 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/3.18, allocations: 0.6398 MB / 1.366 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005204/3.18, allocations: 224.1 kB / 1.366 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/3.18, allocations: 9.906 kB / 1.366 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008075/3.181, allocations: 69.58 kB / 1.366 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/3.181, allocations: 31.67 kB / 1.366 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/3.181, allocations: 19.03 kB / 1.366 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001047/3.182, allocations: 0.5979 MB / 1.367 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.51e-07/3.182, allocations: 3.094 kB / 1.367 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003742/3.186, allocations: 0.6253 MB / 1.367 GB, free: 104.2 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 () * Number of clocked 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.003889/3.19, allocations: 1.842 MB / 1.369 GB, free: 103 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003416/3.193, allocations: 0.8259 MB / 1.37 GB, free: 103 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/3.193, allocations: 0 / 1.37 GB, free: 103 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006599/3.194, allocations: 231.8 kB / 1.37 GB, free: 103 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/3.197, allocations: 483.2 kB / 1.371 GB, free: 103 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005527/3.202, allocations: 3.529 MB / 1.374 GB, free: 100.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006987/3.203, allocations: 1.049 MB / 1.375 GB, free: 99.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001786/3.205, allocations: 206.8 kB / 1.375 GB, free: 99.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005883/3.206, allocations: 366.3 kB / 1.376 GB, free: 99.81 MB / 0.6042 GB Notification: Performance of SimCode: time 1.523e-06/3.206, allocations: 2.562 kB / 1.376 GB, free: 99.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08391/3.29, allocations: 36.36 MB / 1.411 GB, free: 90.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/3.29, allocations: 255.6 kB / 1.411 GB, free: 90.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.319/6.608, allocations: 0 / 1.411 GB, free: 90.5 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)