Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.00112, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 191.5 kB / 16.13 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.884/2.884, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 69.44 kB / 0.9114 GB, free: 33.74 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3678, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01804/0.3859, allocations: 17.41 MB / 1.084 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00725/0.3932, allocations: 4.932 MB / 1.089 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006248/0.3939, allocations: 15.88 kB / 1.089 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008862/0.3948, allocations: 210.9 kB / 1.09 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.3964, allocations: 0.5638 MB / 1.09 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.3983, allocations: 0.6401 MB / 1.091 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001466/0.3998, allocations: 1.27 MB / 1.092 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004577/0.4003, allocations: 309.5 kB / 1.092 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006813/0.401, allocations: 386.3 kB / 1.093 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000398/0.4014, allocations: 310.7 kB / 1.093 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.581e-05/0.4015, allocations: 20 kB / 1.093 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.4027, allocations: 0.6978 MB / 1.094 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.4029, allocations: 127.5 kB / 1.094 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.4031, allocations: 230.6 kB / 1.094 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.4042, allocations: 0.8568 MB / 1.095 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4042, allocations: 0 / 1.095 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.91e-07/0.4042, allocations: 4 kB / 1.095 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.4042, allocations: 0 / 1.095 GB, free: 14.91 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001274/0.4055, allocations: 0.8719 MB / 1.096 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.4056, allocations: 12.03 kB / 1.096 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.4057, allocations: 56.28 kB / 1.096 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005988/0.4063, allocations: 457.5 kB / 1.096 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.4064, allocations: 28.5 kB / 1.096 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.4064, allocations: 28 kB / 1.096 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.4069, allocations: 278.3 kB / 1.096 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.407, allocations: 3.938 kB / 1.096 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.407, allocations: 15.98 kB / 1.096 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.407, allocations: 7.938 kB / 1.096 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.4075, allocations: 190.1 kB / 1.097 GB, free: 12.88 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.001868/0.4094, allocations: 1.476 MB / 1.098 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.4097, allocations: 164.3 kB / 1.098 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.4099, allocations: 88.7 kB / 1.098 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001868/0.4118, allocations: 1.268 MB / 1.1 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.4118, allocations: 38.5 kB / 1.1 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 2.285e-06/0.4119, allocations: 0 / 1.1 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0007917/0.4126, allocations: 247.2 kB / 1.1 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.4127, allocations: 59.34 kB / 1.1 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007548/0.4135, allocations: 0.5847 MB / 1.1 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.4135, allocations: 33.7 kB / 1.101 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.4138, allocations: 272.1 kB / 1.101 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.4138, allocations: 51.2 kB / 1.101 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.414, allocations: 69.97 kB / 1.101 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.4142, allocations: 358.8 kB / 1.101 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.4144, allocations: 81.94 kB / 1.101 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.4148, allocations: 210.7 kB / 1.102 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.4152, allocations: 238.9 kB / 1.102 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4152, allocations: 0 / 1.102 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006189/0.4158, allocations: 314.5 kB / 1.102 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.4159, allocations: 11.94 kB / 1.102 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4159, allocations: 0 / 1.102 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.4159, allocations: 7.984 kB / 1.102 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.4162, allocations: 63.91 kB / 1.102 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.4162, allocations: 4 kB / 1.102 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.4166, allocations: 55.86 kB / 1.102 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.4167, allocations: 16 kB / 1.102 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003431/0.417, allocations: 212.6 kB / 1.102 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002957/0.4173, allocations: 214.4 kB / 1.103 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003988/0.4177, allocations: 222.9 kB / 1.103 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.4177, allocations: 0 / 1.103 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005637/0.4183, allocations: 308.8 kB / 1.103 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.4183, allocations: 4 kB / 1.103 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4183, allocations: 7.938 kB / 1.103 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-06/0.4183, allocations: 4 kB / 1.103 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.4186, allocations: 67.91 kB / 1.103 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.4186, allocations: 11.97 kB / 1.103 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.4189, allocations: 40.27 kB / 1.103 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.419, allocations: 15.98 kB / 1.103 GB, free: 5.57 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.4191, allocations: 200.1 kB / 1.103 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.4192, allocations: 55.28 kB / 1.104 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005573/0.4197, allocations: 263.3 kB / 1.104 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.4198, allocations: 4 kB / 1.104 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.4198, allocations: 0 / 1.104 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4198, allocations: 0 / 1.104 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.4209, allocations: 0.7355 MB / 1.104 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4209, allocations: 4 kB / 1.104 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.421, allocations: 39.91 kB / 1.105 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4211, allocations: 0 / 1.105 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.4211, allocations: 4 kB / 1.105 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4211, allocations: 0 / 1.105 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4211, allocations: 4 kB / 1.105 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.4216, allocations: 361 kB / 1.105 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.4218, allocations: 144.5 kB / 1.105 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.6e-05/0.4218, allocations: 7.938 kB / 1.105 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.422, allocations: 19.98 kB / 1.105 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.4221, allocations: 19.91 kB / 1.105 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.4221, allocations: 8 kB / 1.105 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004478/0.4226, allocations: 418.8 kB / 1.105 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4226, allocations: 0 / 1.105 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007685/0.4234, allocations: 227.7 kB / 1.106 GB, free: 2.965 MB / 0.8575 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/0.4245, allocations: 0.4924 MB / 1.106 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007045/0.4253, allocations: 317.8 kB / 1.106 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.4253, allocations: 4 kB / 1.106 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.4255, allocations: 89.08 kB / 1.107 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.4268, allocations: 248.4 kB / 1.107 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.4283, allocations: 0.9616 MB / 1.108 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.4287, allocations: 0.8428 MB / 1.109 GB, free: 100 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003484/0.4291, allocations: 96.64 kB / 1.109 GB, free: 0 / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/0.4292, allocations: 51.47 kB / 1.109 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of SimCode: time 6.71e-07/0.4292, allocations: 0 / 1.109 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of Templates: time 0.01702/0.4462, allocations: 9.887 MB / 1.118 GB, free: 6.191 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)