Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.511/2.511, allocations: 287.5 MB / 303.2 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001403, allocations: 186.6 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009317/0.0009314, allocations: 95.55 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004776, allocations: 11.34 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2208, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.263/1.483, allocations: 401.3 MB / 1.371 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/1.484, allocations: 101.4 kB / 1.371 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.816/4.3, allocations: 428 MB / 1.789 GB, free: 215.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.469e-06/4.3, allocations: 1.656 kB / 1.789 GB, free: 215.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002777/4.3, allocations: 36.56 kB / 1.789 GB, free: 215.6 MB / 0.9323 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.007982/4.308, allocations: 1.498 MB / 1.791 GB, free: 215.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.471e-05/4.308, allocations: 9.5 kB / 1.791 GB, free: 215.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/4.31, allocations: 148.9 kB / 1.791 GB, free: 215 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004939/4.315, allocations: 0.8669 MB / 1.792 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/4.315, allocations: 84.12 kB / 1.792 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007893/4.316, allocations: 123 kB / 1.792 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/4.319, allocations: 0.6341 MB / 1.793 GB, free: 214.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.092e-05/4.319, allocations: 8 kB / 1.793 GB, free: 214.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/4.319, allocations: 21.47 kB / 1.793 GB, free: 214.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/4.319, allocations: 14.97 kB / 1.793 GB, free: 214.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/4.322, allocations: 471.5 kB / 1.793 GB, free: 214.6 MB / 0.9323 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.01399/4.336, allocations: 3.072 MB / 1.796 GB, free: 213.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/4.337, allocations: 330 kB / 1.796 GB, free: 213.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009381/4.338, allocations: 162 kB / 1.796 GB, free: 213.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005132/4.339, allocations: 350.2 kB / 1.797 GB, free: 213 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/4.339, allocations: 35.19 kB / 1.797 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 5.14e-06/4.339, allocations: 2.719 kB / 1.797 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.004057/4.343, allocations: 0.5663 MB / 1.797 GB, free: 212.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/4.343, allocations: 54.25 kB / 1.797 GB, free: 212.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/4.346, allocations: 0.8884 MB / 1.798 GB, free: 212.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0007985/4.347, allocations: 57.67 kB / 1.798 GB, free: 212.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/4.348, allocations: 0.5522 MB / 1.799 GB, free: 212.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/4.348, allocations: 113.2 kB / 1.799 GB, free: 212.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/4.348, allocations: 10.06 kB / 1.799 GB, free: 212.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001042/4.348, allocations: 330.8 kB / 1.799 GB, free: 212 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/4.349, allocations: 180.4 kB / 1.8 GB, free: 212 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004176/4.354, allocations: 1.44 MB / 1.801 GB, free: 211 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/4.356, allocations: 460.4 kB / 1.801 GB, free: 210.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/4.356, allocations: 0 / 1.801 GB, free: 210.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003878/4.36, allocations: 0.6502 MB / 1.802 GB, free: 210.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/4.36, allocations: 153.7 kB / 1.802 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/4.36, allocations: 5.625 kB / 1.802 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.404e-05/4.36, allocations: 5 kB / 1.802 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004286/4.364, allocations: 250.2 kB / 1.802 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/4.367, allocations: 2.967 MB / 1.805 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01082/4.378, allocations: 0.9098 MB / 1.806 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003338/4.378, allocations: 31.33 kB / 1.806 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/4.378, allocations: 3.562 kB / 1.806 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002593/4.381, allocations: 0.509 MB / 1.807 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/4.381, allocations: 2.188 kB / 1.807 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/4.381, allocations: 5.406 kB / 1.807 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/4.383, allocations: 164.3 kB / 1.807 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/4.383, allocations: 4.562 kB / 1.807 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007719/4.39, allocations: 0.8989 MB / 1.808 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/4.391, allocations: 33.95 kB / 1.808 GB, free: 207.7 MB / 0.9323 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.00117/4.392, allocations: 332 kB / 1.808 GB, free: 207.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/4.392, allocations: 93.12 kB / 1.808 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/4.394, allocations: 0.5367 MB / 1.809 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/4.394, allocations: 4.312 kB / 1.809 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/4.394, allocations: 0 / 1.809 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/4.394, allocations: 8.609 kB / 1.809 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003507/4.398, allocations: 1.283 MB / 1.81 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/4.398, allocations: 2.531 kB / 1.81 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/4.399, allocations: 123 kB / 1.81 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/4.399, allocations: 7.219 kB / 1.81 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/4.399, allocations: 12.61 kB / 1.81 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/4.4, allocations: 2.939 MB / 1.813 GB, free: 204.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/4.4, allocations: 1.156 kB / 1.813 GB, free: 204.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/4.402, allocations: 0.5896 MB / 1.814 GB, free: 203.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005915/4.403, allocations: 229.7 kB / 1.814 GB, free: 203.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/4.403, allocations: 12.5 kB / 1.814 GB, free: 203.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/4.404, allocations: 67.95 kB / 1.814 GB, free: 203.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/4.404, allocations: 27.7 kB / 1.814 GB, free: 203.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.304e-05/4.404, allocations: 17.55 kB / 1.814 GB, free: 203.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001133/4.405, allocations: 0.583 MB / 1.814 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.61e-07/4.405, allocations: 0 / 1.814 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002909/4.408, allocations: 0.6073 MB / 1.815 GB, free: 203.6 MB / 0.9323 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.001363/4.409, allocations: 0.5088 MB / 1.816 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004886/4.414, allocations: 0.8748 MB / 1.816 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/4.414, allocations: 3 kB / 1.816 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/4.416, allocations: 242.9 kB / 1.817 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005129/4.421, allocations: 481.7 kB / 1.817 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/4.425, allocations: 1.763 MB / 1.819 GB, free: 202.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006472/4.426, allocations: 1.026 MB / 1.82 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002172/4.428, allocations: 210.9 kB / 1.82 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/4.428, allocations: 78.81 kB / 1.82 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.212e-06/4.428, allocations: 0 / 1.82 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.07181/4.5, allocations: 27.8 MB / 1.847 GB, free: 201.3 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)