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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 289.7 MB / 302.2 MB, free: 2.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009839/0.000984, allocations: 183 kB / 371.6 MB, free: 3.438 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008184/0.0008183, allocations: 89 kB / 0.745 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.916e-05/2.918e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2284, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9199/1.148, allocations: 399.6 MB / 1.37 GB, free: 13.25 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/1.149, allocations: 98.45 kB / 1.37 GB, free: 13.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.889/3.038, allocations: 409.2 MB / 1.77 GB, free: 187.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.583e-06/3.038, allocations: 0.8438 kB / 1.77 GB, free: 187.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.276e-05/3.038, allocations: 29.66 kB / 1.77 GB, free: 187.3 MB / 0.948 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.001883/3.04, allocations: 1.041 MB / 1.771 GB, free: 186.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/3.04, allocations: 12.75 kB / 1.771 GB, free: 186.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/3.04, allocations: 96.27 kB / 1.771 GB, free: 186.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/3.041, allocations: 0.5706 MB / 1.771 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/3.041, allocations: 41.66 kB / 1.771 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/3.041, allocations: 56.33 kB / 1.772 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007486/3.042, allocations: 376.5 kB / 1.772 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/3.042, allocations: 2.719 kB / 1.772 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/3.042, allocations: 15.34 kB / 1.772 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/3.042, allocations: 11.16 kB / 1.772 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/3.043, allocations: 264.3 kB / 1.772 GB, free: 186.6 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.002975/3.046, allocations: 1.856 MB / 1.774 GB, free: 185.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/3.046, allocations: 149.8 kB / 1.774 GB, free: 185.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/3.046, allocations: 69.16 kB / 1.774 GB, free: 185.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/3.046, allocations: 343.3 kB / 1.774 GB, free: 185.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/3.046, allocations: 38.89 kB / 1.775 GB, free: 185.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 2.424e-06/3.046, allocations: 3.562 kB / 1.775 GB, free: 185.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0004674/3.047, allocations: 216.3 kB / 1.775 GB, free: 185.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/3.047, allocations: 57.45 kB / 1.775 GB, free: 185.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007819/3.048, allocations: 0.5726 MB / 1.775 GB, free: 185 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/3.048, allocations: 36.2 kB / 1.775 GB, free: 185 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/3.048, allocations: 372.6 kB / 1.776 GB, free: 184.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/3.048, allocations: 77.08 kB / 1.776 GB, free: 184.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/3.048, allocations: 4.938 kB / 1.776 GB, free: 184.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001186/3.048, allocations: 376.4 kB / 1.776 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/3.048, allocations: 81.92 kB / 1.776 GB, free: 184.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/3.049, allocations: 202.4 kB / 1.776 GB, free: 184.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/3.049, allocations: 110.9 kB / 1.777 GB, free: 184.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/3.049, allocations: 1.062 kB / 1.777 GB, free: 184.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005929/3.05, allocations: 347.1 kB / 1.777 GB, free: 184.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/3.05, allocations: 281.1 kB / 1.777 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/3.05, allocations: 0 / 1.777 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/3.05, allocations: 2.625 kB / 1.777 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008854/3.051, allocations: 130.3 kB / 1.777 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009106/3.052, allocations: 2.371 MB / 1.78 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007284/3.052, allocations: 94.22 kB / 1.78 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/3.052, allocations: 17.27 kB / 1.78 GB, free: 181.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/3.052, allocations: 3.656 kB / 1.78 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004848/3.053, allocations: 252.3 kB / 1.78 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/3.053, allocations: 1.375 kB / 1.78 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/3.053, allocations: 2.281 kB / 1.78 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/3.053, allocations: 103.9 kB / 1.78 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/3.053, allocations: 3.234 kB / 1.78 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/3.054, allocations: 83.2 kB / 1.78 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/3.054, allocations: 23.31 kB / 1.78 GB, free: 181.7 MB / 0.948 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 () * 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 9.956e-05/3.054, allocations: 125.4 kB / 1.78 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/3.054, allocations: 70.53 kB / 1.78 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000608/3.055, allocations: 284.3 kB / 1.781 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/3.055, allocations: 7.453 kB / 1.781 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/3.055, allocations: 0 / 1.781 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/3.055, allocations: 1.172 kB / 1.781 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/3.056, allocations: 0.8529 MB / 1.781 GB, free: 181.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/3.056, allocations: 5.625 kB / 1.781 GB, free: 181.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/3.056, allocations: 83.62 kB / 1.782 GB, free: 181.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/3.056, allocations: 3.562 kB / 1.782 GB, free: 181.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/3.057, allocations: 8.062 kB / 1.782 GB, free: 181.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006717/3.057, allocations: 2.354 MB / 1.784 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/3.057, allocations: 2.391 kB / 1.784 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/3.058, allocations: 422 kB / 1.784 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/3.058, allocations: 172.1 kB / 1.784 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.417e-05/3.058, allocations: 6.625 kB / 1.784 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/3.058, allocations: 60.62 kB / 1.784 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/3.058, allocations: 17.44 kB / 1.785 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/3.058, allocations: 13.48 kB / 1.785 GB, free: 178.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006458/3.059, allocations: 452.8 kB / 1.785 GB, free: 178.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.8e-07/3.059, allocations: 0 / 1.785 GB, free: 178.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00137/3.061, allocations: 381.8 kB / 1.785 GB, free: 178.3 MB / 0.948 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 () * 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.0009062/3.061, allocations: 473.2 kB / 1.786 GB, free: 178.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001355/3.063, allocations: 434.8 kB / 1.786 GB, free: 178.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/3.063, allocations: 0 / 1.786 GB, free: 178.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003238/3.063, allocations: 114.6 kB / 1.786 GB, free: 178.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/3.065, allocations: 383.2 kB / 1.787 GB, free: 178.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/3.066, allocations: 0.7612 MB / 1.787 GB, free: 177.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/3.067, allocations: 0.9474 MB / 1.788 GB, free: 177.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006506/3.068, allocations: 153.1 kB / 1.788 GB, free: 177.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/3.068, allocations: 39.06 kB / 1.789 GB, free: 177.2 MB / 0.948 GB Notification: Performance of SimCode: time 4.31e-07/3.068, allocations: 0 / 1.789 GB, free: 177.2 MB / 0.948 GB Notification: Performance of Templates: time 0.02593/3.094, allocations: 16.73 MB / 1.805 GB, free: 177 MB / 0.948 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)