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.000951/0.000951, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009381/0.0009382, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.717/1.717, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005096/0.0005098, allocations: 16.59 kB / 0.6735 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.253, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.028/0.2811, allocations: 26.08 MB / 0.8126 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01656/0.2977, allocations: 12.27 MB / 0.8246 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.299, allocations: 27.75 kB / 0.8246 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.3007, allocations: 0.5056 MB / 0.8251 GB, free: 5 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003872/0.3046, allocations: 1.105 MB / 0.8262 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006628/0.3113, allocations: 2.313 MB / 0.8284 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002994/0.3143, allocations: 1.234 MB / 0.8296 GB, free: 388 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009574/0.3152, allocations: 0.5149 MB / 0.8301 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.3169, allocations: 0.7747 MB / 0.8309 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006655/0.3176, allocations: 458.1 kB / 0.8313 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.76e-05/0.3177, allocations: 32 kB / 0.8314 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.3187, allocations: 387.4 kB / 0.8317 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.3189, allocations: 127.4 kB / 0.8318 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.3191, allocations: 177.3 kB / 0.832 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000833/0.3199, allocations: 0.7013 MB / 0.8327 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.3199, allocations: 0 / 0.8327 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3199, allocations: 0 / 0.8327 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.3199, allocations: 0 / 0.8327 GB, free: 13.21 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.001657/0.3216, allocations: 1.008 MB / 0.8337 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3217, allocations: 8.031 kB / 0.8337 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.3218, allocations: 98.88 kB / 0.8338 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008055/0.3226, allocations: 0.5343 MB / 0.8343 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/0.3227, allocations: 41 kB / 0.8343 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.931e-05/0.3228, allocations: 52 kB / 0.8344 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000701/0.3235, allocations: 414.4 kB / 0.8348 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3235, allocations: 7.938 kB / 0.8348 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/0.3235, allocations: 16 kB / 0.8348 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.3236, allocations: 15.95 kB / 0.8348 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005767/0.3241, allocations: 307.8 kB / 0.8351 GB, free: 10.62 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.002697/0.3269, allocations: 1.846 MB / 0.8369 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.3272, allocations: 182.4 kB / 0.8371 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002934/0.3275, allocations: 336.5 kB / 0.8374 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.3275, allocations: 30.56 kB / 0.8375 GB, free: 8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 3.316e-06/0.3275, allocations: 3.984 kB / 0.8375 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.0006952/0.3282, allocations: 327.5 kB / 0.8378 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.3283, allocations: 55.41 kB / 0.8378 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007027/0.329, allocations: 0.6686 MB / 0.8385 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.329, allocations: 37.7 kB / 0.8385 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.3293, allocations: 356.1 kB / 0.8388 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/0.3294, allocations: 70.98 kB / 0.8389 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/0.3294, allocations: 8 kB / 0.8389 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3296, allocations: 374.8 kB / 0.8393 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.3298, allocations: 103.9 kB / 0.8394 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.3301, allocations: 178 kB / 0.8395 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.3303, allocations: 125.6 kB / 0.8397 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3303, allocations: 3.938 kB / 0.8397 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006626/0.331, allocations: 390.5 kB / 0.84 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.3311, allocations: 278.9 kB / 0.8403 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3312, allocations: 0 / 0.8403 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3312, allocations: 7.953 kB / 0.8403 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.3322, allocations: 163.9 kB / 0.8405 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.3335, allocations: 2.364 MB / 0.8428 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/0.3341, allocations: 83.66 kB / 0.8429 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.3342, allocations: 15.98 kB / 0.8429 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.3342, allocations: 4 kB / 0.8429 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005572/0.3348, allocations: 292.1 kB / 0.8432 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3348, allocations: 4 kB / 0.8432 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-06/0.3348, allocations: 3.938 kB / 0.8432 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.3352, allocations: 99.88 kB / 0.8433 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3352, allocations: 7.953 kB / 0.8433 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/0.3357, allocations: 87.53 kB / 0.8434 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.3357, allocations: 8 kB / 0.8434 GB, free: 1.754 MB / 0.6544 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002755/0.336, allocations: 265.6 kB / 0.8436 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/0.3361, allocations: 71.16 kB / 0.8437 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006302/0.3367, allocations: 311.8 kB / 0.844 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.3368, allocations: 11.94 kB / 0.844 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3368, allocations: 3.953 kB / 0.844 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3368, allocations: 0 / 0.844 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.338, allocations: 0.8878 MB / 0.8449 GB, free: 136 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.338, allocations: 128 / 0.8449 GB, free: 136 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.3383, allocations: 87.86 kB / 0.8449 GB, free: 48 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3384, allocations: 0 / 0.8449 GB, free: 48 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.3384, allocations: 8 kB / 0.845 GB, free: 40 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.3397, allocations: 2.36 MB / 0.8473 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3397, allocations: 7.969 kB / 0.8473 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.3402, allocations: 456 kB / 0.8477 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.3404, allocations: 164.2 kB / 0.8479 GB, free: 12.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-05/0.3405, allocations: 7.984 kB / 0.8479 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.3409, allocations: 55.8 kB / 0.8479 GB, free: 12.84 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.3409, allocations: 24.06 kB / 0.8479 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.341, allocations: 15.98 kB / 0.848 GB, free: 12.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005077/0.3415, allocations: 463 kB / 0.8484 GB, free: 12.35 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3415, allocations: 0 / 0.8484 GB, free: 12.35 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000815/0.3423, allocations: 339.2 kB / 0.8487 GB, free: 12.02 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000458/0.3428, allocations: 256.2 kB / 0.849 GB, free: 11.77 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.3443, allocations: 0.4918 MB / 0.8494 GB, free: 11.28 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3443, allocations: 4 kB / 0.8494 GB, free: 11.27 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.3447, allocations: 143.8 kB / 0.8496 GB, free: 11.13 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.3465, allocations: 377.6 kB / 0.8499 GB, free: 10.77 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.3484, allocations: 1.313 MB / 0.8512 GB, free: 9.426 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.349, allocations: 0.9453 MB / 0.8522 GB, free: 8.453 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004783/0.3495, allocations: 121 kB / 0.8523 GB, free: 8.336 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.945e-05/0.3496, allocations: 51.38 kB / 0.8523 GB, free: 8.285 MB / 0.67 GB Notification: Performance of SimCode: time 6.01e-07/0.3496, allocations: 0 / 0.8523 GB, free: 8.285 MB / 0.67 GB Notification: Performance of Templates: time 0.02134/0.371, allocations: 12.06 MB / 0.8641 GB, free: 12.44 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: