Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001165/0.001165, allocations: 91.52 kB / 15.06 MB, free: 1.078 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.001446/0.001446, allocations: 176.7 kB / 15.95 MB, free: 192 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.611/1.611, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.541/1.541, allocations: 252 MB / 0.5102 GB, free: 4.785 MB / 414.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.0006063/0.0006066, allocations: 12 kB / 0.6243 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6343/0.6349, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02885/0.6638, allocations: 28.54 MB / 0.756 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01966/0.6835, allocations: 13.15 MB / 0.7688 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/0.6857, allocations: 31.69 kB / 0.7689 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.687, allocations: 282.2 kB / 0.7691 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003779/0.6908, allocations: 0.9238 MB / 0.77 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.6933, allocations: 0.7015 MB / 0.7707 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003099/0.6964, allocations: 2.391 MB / 0.7731 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009142/0.6974, allocations: 0.5225 MB / 0.7736 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.6993, allocations: 0.8167 MB / 0.7744 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.7004, allocations: 0.6223 MB / 0.775 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.876e-05/0.7005, allocations: 28 kB / 0.775 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.7019, allocations: 0.5185 MB / 0.7755 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.702, allocations: 127.4 kB / 0.7756 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002883/0.7023, allocations: 181.3 kB / 0.7758 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009135/0.7033, allocations: 0.7442 MB / 0.7765 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.607e-06/0.7033, allocations: 4 kB / 0.7765 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7033, allocations: 0 / 0.7765 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.7033, allocations: 0 / 0.7765 GB, free: 9.676 MB / 0.5919 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.001625/0.7049, allocations: 1.016 MB / 0.7775 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.705, allocations: 12.02 kB / 0.7775 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.7051, allocations: 98.81 kB / 0.7776 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007432/0.7059, allocations: 0.5228 MB / 0.7781 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.7059, allocations: 44.94 kB / 0.7782 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.696e-05/0.706, allocations: 55.94 kB / 0.7782 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007222/0.7067, allocations: 410.4 kB / 0.7786 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.7068, allocations: 0 / 0.7786 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.7068, allocations: 19.95 kB / 0.7787 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.7068, allocations: 12 kB / 0.7787 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005843/0.7074, allocations: 307.8 kB / 0.779 GB, free: 7.098 MB / 0.5919 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.002824/0.7103, allocations: 1.858 MB / 0.7808 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.7106, allocations: 174.4 kB / 0.7809 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.7108, allocations: 84.8 kB / 0.781 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.7111, allocations: 336.5 kB / 0.7813 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.7111, allocations: 38.56 kB / 0.7814 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.7111, allocations: 0 / 0.7814 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.0007072/0.7118, allocations: 315.7 kB / 0.7817 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.7119, allocations: 55.41 kB / 0.7817 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007378/0.7126, allocations: 0.6724 MB / 0.7824 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.7127, allocations: 33.7 kB / 0.7824 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.713, allocations: 367.9 kB / 0.7828 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.713, allocations: 71.08 kB / 0.7828 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.7131, allocations: 8 kB / 0.7828 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.7132, allocations: 370.8 kB / 0.7832 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.7135, allocations: 103.9 kB / 0.7833 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.7138, allocations: 186 kB / 0.7835 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.714, allocations: 125.5 kB / 0.7836 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7141, allocations: 0 / 0.7836 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006727/0.7147, allocations: 386.5 kB / 0.784 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.599e-05/0.7148, allocations: 118.6 kB / 0.7841 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.7148, allocations: 0 / 0.7841 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.7149, allocations: 4 kB / 0.7841 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009775/0.7158, allocations: 155.8 kB / 0.7842 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.7172, allocations: 2.368 MB / 0.7865 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005792/0.7178, allocations: 87.56 kB / 0.7866 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.7179, allocations: 19.94 kB / 0.7866 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.7179, allocations: 4 kB / 0.7866 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005443/0.7185, allocations: 292.1 kB / 0.7869 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.7185, allocations: 3.984 kB / 0.7869 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/0.7185, allocations: 4 kB / 0.7869 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.7189, allocations: 99.88 kB / 0.787 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.7189, allocations: 0 / 0.787 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.7193, allocations: 79.58 kB / 0.7871 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.7194, allocations: 16.19 kB / 0.7871 GB, free: 14.3 MB / 0.6075 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.0002979/0.7197, allocations: 265 kB / 0.7874 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.531e-05/0.7198, allocations: 67.16 kB / 0.7874 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006983/0.7205, allocations: 320.6 kB / 0.7877 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.7205, allocations: 11.92 kB / 0.7878 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7205, allocations: 0 / 0.7878 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.7205, allocations: 3.953 kB / 0.7878 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.7217, allocations: 0.8877 MB / 0.7886 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.7217, allocations: 3.984 kB / 0.7886 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003109/0.722, allocations: 79.98 kB / 0.7887 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.7221, allocations: 4 kB / 0.7887 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.7221, allocations: 8 kB / 0.7887 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.7232, allocations: 2.356 MB / 0.791 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.7232, allocations: 3.984 kB / 0.791 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.7237, allocations: 401.3 kB / 0.7914 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.724, allocations: 180 kB / 0.7916 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/0.724, allocations: 11.95 kB / 0.7916 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.7244, allocations: 43.95 kB / 0.7916 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-05/0.7245, allocations: 23.91 kB / 0.7916 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.7246, allocations: 8 kB / 0.7917 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006496/0.7252, allocations: 463 kB / 0.7921 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7252, allocations: 0 / 0.7921 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001039/0.7263, allocations: 351 kB / 0.7924 GB, free: 8.637 MB / 0.6075 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.0006035/0.7269, allocations: 233.8 kB / 0.7927 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.7285, allocations: 0.5022 MB / 0.7931 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7286, allocations: 0 / 0.7931 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.7289, allocations: 144.1 kB / 0.7933 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.7309, allocations: 377 kB / 0.7936 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.7333, allocations: 1.325 MB / 0.7949 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006562/0.734, allocations: 0.9254 MB / 0.7958 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006125/0.7346, allocations: 118.6 kB / 0.796 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.7348, allocations: 55.42 kB / 0.796 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.7348, allocations: 0 / 0.796 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of Templates: time 0.02507/0.7599, allocations: 12.06 MB / 0.8078 GB, free: 9.094 MB / 0.6231 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: