Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, 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.001084/0.001084, allocations: 190.9 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.1 MB / 222 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.753/1.753, allocations: 292.2 MB / 0.5484 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 62.19 kB / 0.6708 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2392, allocations: 114.6 MB / 0.7827 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02857/0.2678, allocations: 30.86 MB / 0.8128 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01929/0.2871, allocations: 14.36 MB / 0.8268 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.2887, allocations: 31.69 kB / 0.8269 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.2898, allocations: 318.2 kB / 0.8272 GB, free: 336 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003108/0.293, allocations: 1.05 MB / 0.8282 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.2954, allocations: 0.7704 MB / 0.8289 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003615/0.299, allocations: 2.81 MB / 0.8317 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.3001, allocations: 0.575 MB / 0.8323 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00206/0.3022, allocations: 0.8867 MB / 0.8331 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008932/0.3031, allocations: 0.6767 MB / 0.8338 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.497e-05/0.3032, allocations: 40 kB / 0.8338 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.3047, allocations: 0.5809 MB / 0.8344 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.3049, allocations: 143.3 kB / 0.8345 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004483/0.3053, allocations: 413.7 kB / 0.8349 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.3066, allocations: 1.047 MB / 0.8359 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.3066, allocations: 3.938 kB / 0.8359 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3066, allocations: 0 / 0.8359 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.3066, allocations: 0 / 0.8359 GB, free: 7.316 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001833/0.3085, allocations: 1.156 MB / 0.8371 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3085, allocations: 8.031 kB / 0.8371 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.3087, allocations: 95.81 kB / 0.8372 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007344/0.3094, allocations: 0.5575 MB / 0.8377 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.3095, allocations: 45 kB / 0.8378 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.097e-05/0.3095, allocations: 52 kB / 0.8378 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007429/0.3103, allocations: 414.4 kB / 0.8382 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3103, allocations: 0 / 0.8382 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.3104, allocations: 16 kB / 0.8382 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.3104, allocations: 12 kB / 0.8382 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005793/0.311, allocations: 303.8 kB / 0.8385 GB, free: 4.574 MB / 0.6544 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.002611/0.3136, allocations: 1.85 MB / 0.8403 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.3139, allocations: 166.5 kB / 0.8405 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.3141, allocations: 84.8 kB / 0.8406 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/0.3144, allocations: 336.5 kB / 0.8409 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.3144, allocations: 38.55 kB / 0.8409 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 1.243e-06/0.3145, allocations: 0 / 0.8409 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.0007046/0.3152, allocations: 307.2 kB / 0.8412 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.3152, allocations: 63.44 kB / 0.8413 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/0.3159, allocations: 0.6685 MB / 0.8419 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.316, allocations: 37.7 kB / 0.842 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.3162, allocations: 356.1 kB / 0.8423 GB, free: 424 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.3163, allocations: 74.92 kB / 0.8424 GB, free: 348 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3164, allocations: 85.59 kB / 0.8425 GB, free: 256 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3166, allocations: 390.7 kB / 0.8428 GB, free: 15.86 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.3168, allocations: 116.8 kB / 0.8429 GB, free: 15.74 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.3171, allocations: 181.8 kB / 0.8431 GB, free: 15.54 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/0.3176, allocations: 240.9 kB / 0.8433 GB, free: 15.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3176, allocations: 0 / 0.8433 GB, free: 15.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006757/0.3183, allocations: 389.9 kB / 0.8437 GB, free: 14.91 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3183, allocations: 4 kB / 0.8437 GB, free: 14.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3183, allocations: 0 / 0.8437 GB, free: 14.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3183, allocations: 4 kB / 0.8437 GB, free: 14.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009997/0.3193, allocations: 163.8 kB / 0.8439 GB, free: 14.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.3206, allocations: 2.363 MB / 0.8462 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/0.3212, allocations: 83.75 kB / 0.8463 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.3212, allocations: 16 kB / 0.8463 GB, free: 12.19 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003852/0.3216, allocations: 248.7 kB / 0.8465 GB, free: 11.95 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002723/0.3219, allocations: 179.5 kB / 0.8467 GB, free: 11.75 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000393/0.3223, allocations: 231.4 kB / 0.8469 GB, free: 11.51 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.3223, allocations: 4 kB / 0.8469 GB, free: 11.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006281/0.3229, allocations: 380.2 kB / 0.8473 GB, free: 11.12 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.323, allocations: 4 kB / 0.8473 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.323, allocations: 0 / 0.8473 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.283e-06/0.323, allocations: 7.938 kB / 0.8473 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.3234, allocations: 103.8 kB / 0.8474 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.3234, allocations: 0 / 0.8474 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.3239, allocations: 71.75 kB / 0.8475 GB, free: 10.94 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.324, allocations: 23.98 kB / 0.8475 GB, free: 10.92 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.3241, allocations: 192.2 kB / 0.8477 GB, free: 10.72 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.282e-05/0.3242, allocations: 75.03 kB / 0.8477 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006563/0.3249, allocations: 305.8 kB / 0.848 GB, free: 10.35 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.3249, allocations: 4 kB / 0.848 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3249, allocations: 3.938 kB / 0.848 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3249, allocations: 0 / 0.848 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.3261, allocations: 0.8877 MB / 0.8489 GB, free: 9.383 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.3262, allocations: 4 kB / 0.8489 GB, free: 9.379 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.3265, allocations: 72 kB / 0.849 GB, free: 9.309 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3265, allocations: 4 kB / 0.849 GB, free: 9.305 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.3265, allocations: 8 kB / 0.849 GB, free: 9.297 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.3275, allocations: 2.352 MB / 0.8513 GB, free: 6.852 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.3276, allocations: 4.312 kB / 0.8513 GB, free: 6.848 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.3281, allocations: 401.8 kB / 0.8517 GB, free: 6.426 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.3283, allocations: 160.2 kB / 0.8518 GB, free: 6.25 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.33e-05/0.3283, allocations: 11.98 kB / 0.8518 GB, free: 6.238 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.3287, allocations: 51.8 kB / 0.8519 GB, free: 6.188 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.3288, allocations: 19.92 kB / 0.8519 GB, free: 6.168 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.3288, allocations: 11.98 kB / 0.8519 GB, free: 6.156 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005053/0.3293, allocations: 467 kB / 0.8524 GB, free: 5.703 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3293, allocations: 0 / 0.8524 GB, free: 5.703 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008497/0.3302, allocations: 347.2 kB / 0.8527 GB, free: 5.363 MB / 0.67 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005458/0.3307, allocations: 235.2 kB / 0.8529 GB, free: 5.133 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001574/0.3323, allocations: 0.496 MB / 0.8534 GB, free: 4.637 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3323, allocations: 0 / 0.8534 GB, free: 4.637 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.3327, allocations: 135.9 kB / 0.8535 GB, free: 4.504 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.3346, allocations: 385.6 kB / 0.8539 GB, free: 4.137 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.3364, allocations: 1.358 MB / 0.8552 GB, free: 2.746 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.3369, allocations: 0.9294 MB / 0.8561 GB, free: 1.789 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004536/0.3373, allocations: 112.6 kB / 0.8562 GB, free: 1.68 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.754e-05/0.3374, allocations: 51.44 kB / 0.8563 GB, free: 1.629 MB / 0.67 GB Notification: Performance of SimCode: time 7.81e-07/0.3375, allocations: 0 / 0.8563 GB, free: 1.629 MB / 0.67 GB Notification: Performance of Templates: time 0.02242/0.3599, allocations: 12.53 MB / 0.8685 GB, free: 5.32 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)