Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.626/1.626, allocations: 297.8 MB / 313.8 MB, free: 108 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001109, allocations: 183.1 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008241/0.0008244, allocations: 95.91 kB / 0.7808 GB, free: 43.72 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.000393, allocations: 12 kB / 0.9088 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6689/0.6693, allocations: 120.3 MB / 1.026 GB, free: 56.52 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9529/1.622, allocations: 386.5 MB / 1.404 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/1.623, allocations: 98.91 kB / 1.404 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4429/2.066, allocations: 239.8 MB / 1.638 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.454e-06/2.066, allocations: 0 / 1.638 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.344e-05/2.066, allocations: 23.94 kB / 1.638 GB, free: 10.79 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002777/2.068, allocations: 1.078 MB / 1.639 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/2.069, allocations: 8.031 kB / 1.639 GB, free: 9.652 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003097/2.069, allocations: 87.91 kB / 1.639 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/2.07, allocations: 0.5473 MB / 1.64 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/2.07, allocations: 37.38 kB / 1.64 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/2.07, allocations: 48.38 kB / 1.64 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/2.072, allocations: 0.6261 MB / 1.64 GB, free: 8.203 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/2.072, allocations: 7.875 kB / 1.64 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/2.072, allocations: 16 kB / 1.64 GB, free: 8.18 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/2.072, allocations: 12 kB / 1.64 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/2.073, allocations: 0.5112 MB / 1.641 GB, free: 7.656 MB / 0.9167 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.003989/2.077, allocations: 3.205 MB / 1.644 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/2.077, allocations: 343.4 kB / 1.644 GB, free: 3.914 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/2.078, allocations: 236.5 kB / 1.645 GB, free: 3.68 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003497/2.078, allocations: 348.4 kB / 1.645 GB, free: 3.266 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/2.078, allocations: 46.55 kB / 1.645 GB, free: 3.211 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=38): time 2.315e-06/2.078, allocations: 0 / 1.645 GB, free: 3.211 MB / 0.9167 GB Notification: Performance of matching and sorting (n=38): time 0.002107/2.08, allocations: 0.8376 MB / 1.646 GB, free: 2.344 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/2.081, allocations: 55.41 kB / 1.646 GB, free: 2.277 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007454/2.081, allocations: 0.5823 MB / 1.646 GB, free: 1.684 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/2.081, allocations: 37.7 kB / 1.646 GB, free: 1.641 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/2.082, allocations: 324.4 kB / 1.647 GB, free: 1.32 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/2.082, allocations: 130.1 kB / 1.647 GB, free: 1.191 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/2.082, allocations: 16 kB / 1.647 GB, free: 1.176 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001701/2.082, allocations: 370.8 kB / 1.647 GB, free: 0.8047 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000493/2.082, allocations: 209.2 kB / 1.647 GB, free: 0.5977 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/2.083, allocations: 408.2 kB / 1.648 GB, free: 128 kB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/2.084, allocations: 0.5743 MB / 1.648 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/2.084, allocations: 0 / 1.648 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0015/2.086, allocations: 0.7222 MB / 1.649 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/2.086, allocations: 223.6 kB / 1.649 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/2.086, allocations: 4 kB / 1.649 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/2.086, allocations: 156.7 kB / 1.649 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008965/2.087, allocations: 151.8 kB / 1.65 GB, free: 14.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006829/2.088, allocations: 0.6343 MB / 1.65 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007185/2.089, allocations: 111.3 kB / 1.65 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-05/2.089, allocations: 31.98 kB / 1.65 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/2.089, allocations: 1.875 kB / 1.65 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001227/2.09, allocations: 0.615 MB / 1.651 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/2.09, allocations: 4 kB / 1.651 GB, free: 12.74 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/2.09, allocations: 8 kB / 1.651 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005815/2.091, allocations: 168.3 kB / 1.651 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/2.091, allocations: 15.92 kB / 1.651 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006462/2.091, allocations: 95.47 kB / 1.651 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-05/2.092, allocations: 31.98 kB / 1.651 GB, free: 12.43 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004098/2.092, allocations: 276.9 kB / 1.652 GB, free: 12.15 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/2.092, allocations: 67.09 kB / 1.652 GB, free: 12.08 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/2.094, allocations: 0.6597 MB / 1.652 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/2.094, allocations: 7.984 kB / 1.652 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/2.094, allocations: 3.938 kB / 1.652 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/2.094, allocations: 0 / 1.652 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/2.096, allocations: 1.375 MB / 1.654 GB, free: 9.945 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/2.096, allocations: 0 / 1.654 GB, free: 9.945 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/2.097, allocations: 99.97 kB / 1.654 GB, free: 9.848 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004015/2.097, allocations: 128.8 kB / 1.654 GB, free: 9.719 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/2.097, allocations: 15.94 kB / 1.654 GB, free: 9.703 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000618/2.098, allocations: 0.6382 MB / 1.654 GB, free: 9.039 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/2.098, allocations: 0 / 1.654 GB, free: 9.039 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/2.099, allocations: 0.7202 MB / 1.655 GB, free: 8.285 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/2.1, allocations: 199.9 kB / 1.655 GB, free: 8.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/2.1, allocations: 12 kB / 1.655 GB, free: 8.059 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005123/2.1, allocations: 55.94 kB / 1.655 GB, free: 8.004 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/2.1, allocations: 39.83 kB / 1.655 GB, free: 7.965 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/2.1, allocations: 16 kB / 1.655 GB, free: 7.949 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005448/2.101, allocations: 403 kB / 1.656 GB, free: 7.562 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/2.101, allocations: 4 kB / 1.656 GB, free: 7.559 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001526/2.102, allocations: 419.4 kB / 1.656 GB, free: 7.148 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001097/2.104, allocations: 416.6 kB / 1.657 GB, free: 6.746 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002204/2.106, allocations: 0.9093 MB / 1.658 GB, free: 5.84 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/2.106, allocations: 0 / 1.658 GB, free: 5.84 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007098/2.106, allocations: 300.3 kB / 1.658 GB, free: 5.547 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/2.108, allocations: 258.5 kB / 1.658 GB, free: 5.297 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/2.111, allocations: 1.292 MB / 1.659 GB, free: 3.969 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/2.111, allocations: 0.9159 MB / 1.66 GB, free: 3.023 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00073/2.112, allocations: 152.9 kB / 1.66 GB, free: 2.875 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/2.112, allocations: 63.41 kB / 1.66 GB, free: 2.812 MB / 0.9323 GB Notification: Performance of SimCode: time 1.232e-06/2.112, allocations: 0 / 1.66 GB, free: 2.812 MB / 0.9323 GB Notification: Performance of Templates: time 0.02654/2.139, allocations: 13.15 MB / 1.673 GB, free: 5.82 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)