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: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, 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.5989/0.5989, allocations: 90.81 MB / 104.5 MB, free: 13.93 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.396/1.396, 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.0009294/0.0009291, allocations: 98.53 kB / 421.2 MB, free: 5.68 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.928e-05, allocations: 0 / 0.4896 GB, free: 46.63 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1665, allocations: 72.32 MB / 0.5602 GB, free: 6.398 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.178/1.344, allocations: 351.7 MB / 0.9037 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/1.344, allocations: 92.08 kB / 0.9038 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.555/2.9, allocations: 437.7 MB / 1.331 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/2.9, allocations: 0 / 1.331 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001643/2.9, allocations: 33.81 kB / 1.331 GB, free: 115.5 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.003541/2.904, allocations: 1.32 MB / 1.333 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/2.904, allocations: 15.14 kB / 1.333 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007906/2.904, allocations: 154 kB / 1.333 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/2.907, allocations: 0.8169 MB / 1.334 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.942e-05/2.907, allocations: 84.16 kB / 1.334 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003938/2.907, allocations: 116.8 kB / 1.334 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/2.908, allocations: 0.6046 MB / 1.334 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/2.908, allocations: 3.25 kB / 1.334 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/2.908, allocations: 23.88 kB / 1.334 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/2.908, allocations: 15 kB / 1.334 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006551/2.909, allocations: 414.7 kB / 1.335 GB, free: 114.5 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.005236/2.914, allocations: 3.081 MB / 1.338 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/2.915, allocations: 309.3 kB / 1.338 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/2.915, allocations: 142 kB / 1.338 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003172/2.915, allocations: 350.6 kB / 1.339 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/2.915, allocations: 34.16 kB / 1.339 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.584e-06/2.915, allocations: 0 / 1.339 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001092/2.916, allocations: 402.8 kB / 1.339 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/2.916, allocations: 55.09 kB / 1.339 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/2.918, allocations: 0.7786 MB / 1.34 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002214/2.918, allocations: 56.48 kB / 1.34 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005085/2.918, allocations: 0.5426 MB / 1.34 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.781e-05/2.918, allocations: 113.6 kB / 1.34 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/2.918, allocations: 11.59 kB / 1.34 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.749e-05/2.919, allocations: 325.6 kB / 1.341 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/2.919, allocations: 158.2 kB / 1.341 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/2.92, allocations: 1.406 MB / 1.342 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/2.921, allocations: 296.2 kB / 1.343 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/2.921, allocations: 6.141 kB / 1.343 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001126/2.922, allocations: 0.6162 MB / 1.343 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001844/2.922, allocations: 0.8052 MB / 1.344 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/2.922, allocations: 0 / 1.344 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/2.922, allocations: 10.73 kB / 1.344 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/2.923, allocations: 197.4 kB / 1.344 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/2.924, allocations: 2.956 MB / 1.347 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003352/2.928, allocations: 0.9154 MB / 1.348 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-05/2.928, allocations: 24.53 kB / 1.348 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/2.928, allocations: 4.375 kB / 1.348 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007372/2.929, allocations: 475.3 kB / 1.348 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/2.929, allocations: 3.953 kB / 1.348 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/2.929, allocations: 5.812 kB / 1.348 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/2.929, allocations: 161.3 kB / 1.349 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/2.929, allocations: 2.5 kB / 1.349 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/2.932, allocations: 0.9078 MB / 1.349 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.504e-05/2.933, allocations: 24.25 kB / 1.349 GB, free: 106.9 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.000306/2.933, allocations: 164.7 kB / 1.35 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/2.933, allocations: 98.78 kB / 1.35 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/2.934, allocations: 0.4975 MB / 1.35 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/2.934, allocations: 8.75 kB / 1.35 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/2.934, allocations: 3.906 kB / 1.35 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/2.934, allocations: 5.703 kB / 1.35 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/2.936, allocations: 1.236 MB / 1.351 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/2.936, allocations: 3.844 kB / 1.351 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005149/2.937, allocations: 121.5 kB / 1.352 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/2.937, allocations: 3.625 kB / 1.352 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/2.937, allocations: 10.88 kB / 1.352 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008671/2.938, allocations: 2.943 MB / 1.354 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/2.938, allocations: 7.281 kB / 1.354 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006603/2.938, allocations: 0.5894 MB / 1.355 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003804/2.939, allocations: 230.5 kB / 1.355 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/2.939, allocations: 10.16 kB / 1.355 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006479/2.94, allocations: 68.14 kB / 1.355 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/2.94, allocations: 31.72 kB / 1.355 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/2.94, allocations: 13.98 kB / 1.355 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006878/2.94, allocations: 0.5886 MB / 1.356 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.31e-07/2.94, allocations: 0 / 1.356 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002261/2.943, allocations: 0.6103 MB / 1.357 GB, free: 102.7 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.001257/2.944, allocations: 0.4965 MB / 1.357 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002216/2.946, allocations: 0.7918 MB / 1.358 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/2.946, allocations: 0 / 1.358 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004423/2.947, allocations: 204.9 kB / 1.358 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/2.949, allocations: 474.5 kB / 1.358 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/2.951, allocations: 1.064 MB / 1.359 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/2.951, allocations: 1.055 MB / 1.361 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001576/2.953, allocations: 277 kB / 1.361 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/2.953, allocations: 63.45 kB / 1.361 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of SimCode: time 1.302e-06/2.953, allocations: 0 / 1.361 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.04451/2.998, allocations: 29.61 MB / 1.39 GB, free: 99.53 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)