Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002535/0.002535, allocations: 194.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.818/2.818, allocations: 472.6 MB / 0.7451 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 62.14 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.34, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02524/0.3653, allocations: 19.44 MB / 1.087 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009048/0.3744, allocations: 5.154 MB / 1.092 GB, free: 1.75 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.3756, allocations: 19.88 kB / 1.092 GB, free: 1.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008779/0.3765, allocations: 270 kB / 1.092 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002249/0.3788, allocations: 0.7804 MB / 1.093 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.381, allocations: 0.8684 MB / 1.094 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001891/0.3829, allocations: 1.541 MB / 1.096 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006578/0.3835, allocations: 0.5173 MB / 1.096 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000963/0.3845, allocations: 0.6149 MB / 1.097 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006194/0.3851, allocations: 0.5407 MB / 1.097 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.661e-05/0.3853, allocations: 56 kB / 1.097 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.3865, allocations: 0.7057 MB / 1.098 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.3867, allocations: 155.4 kB / 1.098 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.387, allocations: 381.9 kB / 1.098 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.3883, allocations: 1.075 MB / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3883, allocations: 0 / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3883, allocations: 3.938 kB / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.3884, allocations: 0 / 1.1 GB, free: 10.21 MB / 0.8575 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.001823/0.3902, allocations: 1.102 MB / 1.101 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3902, allocations: 8.031 kB / 1.101 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.3904, allocations: 87.89 kB / 1.101 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006472/0.391, allocations: 0.5031 MB / 1.101 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.3911, allocations: 37 kB / 1.101 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/0.3912, allocations: 48 kB / 1.101 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.3922, allocations: 0.62 MB / 1.102 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.3922, allocations: 7.984 kB / 1.102 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.3923, allocations: 16 kB / 1.102 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.3923, allocations: 12 kB / 1.102 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.3934, allocations: 495.4 kB / 1.102 GB, free: 7.137 MB / 0.8575 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.003371/0.3967, allocations: 3.216 MB / 1.106 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007159/0.3975, allocations: 343.8 kB / 1.106 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004846/0.398, allocations: 230.6 kB / 1.106 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003992/0.3984, allocations: 348.4 kB / 1.106 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3984, allocations: 34.56 kB / 1.106 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=38): time 2.244e-06/0.3984, allocations: 0 / 1.106 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of matching and sorting (n=38): time 0.002171/0.4006, allocations: 0.8111 MB / 1.107 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.4006, allocations: 59.34 kB / 1.107 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006382/0.4013, allocations: 0.59 MB / 1.108 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.4013, allocations: 33.7 kB / 1.108 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.4016, allocations: 328.4 kB / 1.108 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.514e-05/0.4017, allocations: 130.1 kB / 1.108 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.4019, allocations: 134.2 kB / 1.108 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.402, allocations: 374.7 kB / 1.109 GB, free: 192 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/0.4025, allocations: 215.4 kB / 1.109 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/0.4032, allocations: 368 kB / 1.109 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.4042, allocations: 0.5742 MB / 1.11 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.4043, allocations: 4 kB / 1.11 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001494/0.4058, allocations: 0.7225 MB / 1.111 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4058, allocations: 8 kB / 1.111 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.4058, allocations: 8 kB / 1.111 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006614/0.4065, allocations: 136.8 kB / 1.111 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005503/0.407, allocations: 140 kB / 1.111 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005589/0.4076, allocations: 0.6148 MB / 1.112 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005406/0.4082, allocations: 87.23 kB / 1.112 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.4082, allocations: 28.05 kB / 1.112 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006493/0.4089, allocations: 349.3 kB / 1.112 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005922/0.4095, allocations: 364 kB / 1.112 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001049/0.4105, allocations: 0.5627 MB / 1.113 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.4105, allocations: 0 / 1.113 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001335/0.4119, allocations: 0.6746 MB / 1.114 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.4119, allocations: 4 kB / 1.114 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.4119, allocations: 8 kB / 1.114 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.4119, allocations: 8.5 kB / 1.114 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.4125, allocations: 159.8 kB / 1.114 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.4126, allocations: 8 kB / 1.114 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.4131, allocations: 67.48 kB / 1.114 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.4131, allocations: 31.98 kB / 1.114 GB, free: 10.79 MB / 0.8731 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.4133, allocations: 216.7 kB / 1.114 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.4134, allocations: 63.25 kB / 1.114 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.4149, allocations: 0.6489 MB / 1.115 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.4149, allocations: 4 kB / 1.115 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4149, allocations: 3.938 kB / 1.115 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.956e-06/0.4149, allocations: 7.984 kB / 1.115 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/0.4173, allocations: 1.359 MB / 1.116 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.4173, allocations: 0 / 1.116 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.4176, allocations: 91.81 kB / 1.116 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003557/0.418, allocations: 113 kB / 1.116 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.418, allocations: 11.98 kB / 1.116 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006084/0.4187, allocations: 0.6304 MB / 1.117 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4187, allocations: 0 / 1.117 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.42, allocations: 0.6931 MB / 1.118 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.4202, allocations: 204.1 kB / 1.118 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.328e-05/0.4203, allocations: 8 kB / 1.118 GB, free: 6.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/0.4207, allocations: 31.97 kB / 1.118 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.4208, allocations: 31.89 kB / 1.118 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.4208, allocations: 19.98 kB / 1.118 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004298/0.4212, allocations: 407.1 kB / 1.118 GB, free: 6.113 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4212, allocations: 0 / 1.118 GB, free: 6.113 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001064/0.4223, allocations: 383.4 kB / 1.119 GB, free: 5.738 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006188/0.4229, allocations: 302.6 kB / 1.119 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.425, allocations: 0.8981 MB / 1.12 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.425, allocations: 0 / 1.12 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006891/0.4257, allocations: 280.4 kB / 1.12 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.4269, allocations: 242.6 kB / 1.12 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.4287, allocations: 1.079 MB / 1.121 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.4291, allocations: 0.9077 MB / 1.122 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005548/0.4297, allocations: 149.2 kB / 1.122 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.4298, allocations: 63.41 kB / 1.122 GB, free: 1.785 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/0.4298, allocations: 0 / 1.122 GB, free: 1.785 MB / 0.8731 GB Notification: Performance of Templates: time 0.02291/0.4528, allocations: 12.62 MB / 1.135 GB, free: 5.324 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)