Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.523/2.523, allocations: 285 MB / 292.5 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001589/0.001588, allocations: 196.8 kB / 360.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.2 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009986/0.0009978, allocations: 95 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.513e-05/2.514e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8103/0.8104, allocations: 115.3 MB / 0.9634 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.229/2.039, allocations: 395.9 MB / 1.35 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/2.039, allocations: 95 kB / 1.35 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.8093/2.849, allocations: 234.1 MB / 1.579 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.924e-06/2.849, allocations: 0 / 1.579 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.709e-05/2.849, allocations: 19.98 kB / 1.579 GB, free: 14.73 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.002784/2.852, allocations: 0.9663 MB / 1.58 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/2.852, allocations: 8.031 kB / 1.58 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003173/2.852, allocations: 83.02 kB / 1.58 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/2.854, allocations: 0.5077 MB / 1.58 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/2.854, allocations: 16 kB / 1.58 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/2.854, allocations: 31.94 kB / 1.58 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001123/2.855, allocations: 354.6 kB / 1.581 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/2.856, allocations: 0.5133 MB / 1.581 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/2.856, allocations: 0 / 1.581 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/2.856, allocations: 7.938 kB / 1.581 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/2.856, allocations: 12 kB / 1.581 GB, free: 12.09 MB / 0.9167 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.006559/2.863, allocations: 3.117 MB / 1.584 GB, free: 8.793 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/2.864, allocations: 286.8 kB / 1.584 GB, free: 8.504 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000821/2.865, allocations: 176.9 kB / 1.585 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000799/2.866, allocations: 348.4 kB / 1.585 GB, free: 7.914 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.347e-05/2.866, allocations: 38.56 kB / 1.585 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=38): time 9.437e-06/2.866, allocations: 7.984 kB / 1.585 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of matching and sorting (n=38): time 0.006721/2.873, allocations: 0.6731 MB / 1.586 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/2.873, allocations: 59.34 kB / 1.586 GB, free: 7.105 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/2.874, allocations: 430.4 kB / 1.586 GB, free: 6.68 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002147/2.875, allocations: 29.7 kB / 1.586 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004944/2.875, allocations: 328.2 kB / 1.587 GB, free: 6.316 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/2.875, allocations: 130.1 kB / 1.587 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/2.875, allocations: 0 / 1.587 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000201/2.876, allocations: 366.8 kB / 1.587 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004566/2.876, allocations: 149.1 kB / 1.587 GB, free: 5.676 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006224/2.877, allocations: 322.4 kB / 1.587 GB, free: 5.289 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002815/2.88, allocations: 444.3 kB / 1.588 GB, free: 4.855 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/2.88, allocations: 0 / 1.588 GB, free: 4.855 MB / 0.9167 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.004007/2.884, allocations: 0.785 MB / 1.589 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008177/2.885, allocations: 1.745 MB / 1.59 GB, free: 2.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/2.885, allocations: 11.88 kB / 1.59 GB, free: 2.168 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006911/2.885, allocations: 100.8 kB / 1.59 GB, free: 2.066 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/2.886, allocations: 143.8 kB / 1.591 GB, free: 1.926 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/2.888, allocations: 0.6967 MB / 1.591 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/2.889, allocations: 95.38 kB / 1.591 GB, free: 1.109 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/2.89, allocations: 39.94 kB / 1.591 GB, free: 1.07 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/2.89, allocations: 7.938 kB / 1.591 GB, free: 1.062 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003566/2.893, allocations: 0.6623 MB / 1.592 GB, free: 408 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/2.893, allocations: 4 kB / 1.592 GB, free: 404 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/2.893, allocations: 8 kB / 1.592 GB, free: 396 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/2.895, allocations: 155.8 kB / 1.592 GB, free: 240 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/2.895, allocations: 7.938 kB / 1.592 GB, free: 232 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/2.896, allocations: 83.62 kB / 1.592 GB, free: 148 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/2.896, allocations: 31.98 kB / 1.592 GB, free: 116 kB / 0.9167 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002527/2.896, allocations: 124.7 kB / 1.592 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/2.896, allocations: 63.2 kB / 1.592 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003935/2.9, allocations: 0.7525 MB / 1.593 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/2.9, allocations: 11.98 kB / 1.593 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/2.9, allocations: 3.938 kB / 1.593 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/2.9, allocations: 3.984 kB / 1.593 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005682/2.906, allocations: 1.415 MB / 1.595 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/2.906, allocations: 4.094 kB / 1.595 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007241/2.907, allocations: 91.88 kB / 1.595 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000611/2.907, allocations: 120.8 kB / 1.595 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.513e-05/2.908, allocations: 4 kB / 1.595 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/2.909, allocations: 0.6889 MB / 1.596 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.978e-06/2.909, allocations: 11.98 kB / 1.596 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0038/2.913, allocations: 0.8695 MB / 1.596 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004734/2.913, allocations: 192.1 kB / 1.597 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/2.914, allocations: 0 / 1.597 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008758/2.915, allocations: 51.94 kB / 1.597 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/2.915, allocations: 35.84 kB / 1.597 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.349e-05/2.915, allocations: 20 kB / 1.597 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006295/2.915, allocations: 322.8 kB / 1.597 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.21e-07/2.915, allocations: 11.94 kB / 1.597 GB, free: 11.16 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001872/2.917, allocations: 391.2 kB / 1.597 GB, free: 10.78 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 () * 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.00126/2.919, allocations: 400.3 kB / 1.598 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002607/2.921, allocations: 0.7157 MB / 1.598 GB, free: 9.672 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/2.921, allocations: 0 / 1.598 GB, free: 9.672 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009211/2.922, allocations: 232.2 kB / 1.599 GB, free: 9.445 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/2.925, allocations: 235.5 kB / 1.599 GB, free: 9.219 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/2.927, allocations: 0.7163 MB / 1.6 GB, free: 8.469 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/2.928, allocations: 0.9245 MB / 1.6 GB, free: 7.52 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001284/2.929, allocations: 164.7 kB / 1.601 GB, free: 7.359 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/2.929, allocations: 55.41 kB / 1.601 GB, free: 7.305 MB / 0.9323 GB Notification: Performance of SimCode: time 1.022e-06/2.929, allocations: 0 / 1.601 GB, free: 7.305 MB / 0.9323 GB Notification: Performance of Templates: time 0.6528/3.582, allocations: 12.23 MB / 1.613 GB, free: 246.5 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)