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/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.306/1.306, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009584/0.0009585, allocations: 185.2 kB / 327.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.4 MB / 0.5785 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007573/0.0007572, allocations: 94.33 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003738, allocations: 13.22 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1907, allocations: 106.3 MB / 0.9012 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.852/1.043, allocations: 391.2 MB / 1.283 GB, free: 7.586 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/1.043, allocations: 101.1 kB / 1.283 GB, free: 7.531 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.118/2.161, allocations: 396.3 MB / 1.67 GB, free: 80.02 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.345e-06/2.161, allocations: 0 / 1.67 GB, free: 80.02 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.674e-05/2.161, allocations: 27.92 kB / 1.67 GB, free: 79.99 MB / 0.8855 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.002554/2.164, allocations: 1.176 MB / 1.672 GB, free: 78.76 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/2.164, allocations: 8.031 kB / 1.672 GB, free: 78.75 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002776/2.164, allocations: 99.75 kB / 1.672 GB, free: 78.66 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/2.165, allocations: 0.6063 MB / 1.672 GB, free: 78.01 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/2.165, allocations: 49.38 kB / 1.672 GB, free: 77.96 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.481e-05/2.165, allocations: 56.38 kB / 1.672 GB, free: 77.91 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006879/2.166, allocations: 403 kB / 1.673 GB, free: 77.51 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/2.166, allocations: 3.938 kB / 1.673 GB, free: 77.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/2.166, allocations: 16 kB / 1.673 GB, free: 77.49 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/2.166, allocations: 12 kB / 1.673 GB, free: 77.48 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005365/2.167, allocations: 295.8 kB / 1.673 GB, free: 77.18 MB / 0.8855 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.002706/2.169, allocations: 1.858 MB / 1.675 GB, free: 75.18 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/2.17, allocations: 162.8 kB / 1.675 GB, free: 75.01 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/2.17, allocations: 96.77 kB / 1.675 GB, free: 74.91 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002295/2.17, allocations: 336.4 kB / 1.675 GB, free: 74.51 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/2.17, allocations: 34.56 kB / 1.675 GB, free: 74.46 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 2.494e-06/2.17, allocations: 0 / 1.675 GB, free: 74.46 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0007046/2.171, allocations: 322.8 kB / 1.676 GB, free: 74.14 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/2.171, allocations: 51.41 kB / 1.676 GB, free: 74.08 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006514/2.172, allocations: 0.6686 MB / 1.677 GB, free: 73.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/2.172, allocations: 33.7 kB / 1.677 GB, free: 73.36 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/2.172, allocations: 372.7 kB / 1.677 GB, free: 73 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/2.172, allocations: 67.02 kB / 1.677 GB, free: 72.93 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.573e-05/2.172, allocations: 8 kB / 1.677 GB, free: 72.92 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001013/2.172, allocations: 374.8 kB / 1.677 GB, free: 72.55 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/2.172, allocations: 100.7 kB / 1.677 GB, free: 72.45 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/2.173, allocations: 225.5 kB / 1.678 GB, free: 72.18 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/2.173, allocations: 229.6 kB / 1.678 GB, free: 71.95 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/2.173, allocations: 112 / 1.678 GB, free: 71.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006255/2.174, allocations: 390.1 kB / 1.678 GB, free: 71.56 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/2.174, allocations: 110.7 kB / 1.678 GB, free: 71.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/2.174, allocations: 3.938 kB / 1.678 GB, free: 71.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/2.174, allocations: 0 / 1.678 GB, free: 71.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009953/2.175, allocations: 179.7 kB / 1.679 GB, free: 71.26 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009031/2.176, allocations: 2.36 MB / 1.681 GB, free: 68.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006375/2.176, allocations: 95.67 kB / 1.681 GB, free: 68.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/2.176, allocations: 20 kB / 1.681 GB, free: 68.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/2.176, allocations: 0 / 1.681 GB, free: 68.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004648/2.177, allocations: 296 kB / 1.681 GB, free: 68.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/2.177, allocations: 0 / 1.681 GB, free: 68.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-06/2.177, allocations: 4 kB / 1.681 GB, free: 68.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/2.177, allocations: 103.9 kB / 1.681 GB, free: 68.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/2.177, allocations: 3.984 kB / 1.681 GB, free: 68.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/2.178, allocations: 83.62 kB / 1.681 GB, free: 68.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/2.178, allocations: 19.98 kB / 1.681 GB, free: 68.2 MB / 0.8855 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.0002738/2.178, allocations: 265 kB / 1.682 GB, free: 67.93 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.582e-05/2.178, allocations: 67.25 kB / 1.682 GB, free: 67.86 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005707/2.179, allocations: 325.7 kB / 1.682 GB, free: 67.54 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/2.179, allocations: 0 / 1.682 GB, free: 67.54 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/2.179, allocations: 0 / 1.682 GB, free: 67.54 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/2.179, allocations: 0 / 1.682 GB, free: 67.54 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/2.18, allocations: 0.8877 MB / 1.683 GB, free: 66.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/2.18, allocations: 0 / 1.683 GB, free: 66.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/2.18, allocations: 83.81 kB / 1.683 GB, free: 66.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/2.18, allocations: 0 / 1.683 GB, free: 66.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/2.18, allocations: 11.92 kB / 1.683 GB, free: 66.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006335/2.181, allocations: 2.356 MB / 1.685 GB, free: 64.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/2.181, allocations: 0 / 1.685 GB, free: 64.04 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/2.181, allocations: 412.2 kB / 1.686 GB, free: 63.61 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/2.182, allocations: 168.1 kB / 1.686 GB, free: 63.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/2.182, allocations: 15.92 kB / 1.686 GB, free: 63.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/2.182, allocations: 43.95 kB / 1.686 GB, free: 63.36 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/2.182, allocations: 31.81 kB / 1.686 GB, free: 63.33 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/2.182, allocations: 8 kB / 1.686 GB, free: 63.32 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004402/2.183, allocations: 467 kB / 1.686 GB, free: 62.87 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.01e-07/2.183, allocations: 0 / 1.686 GB, free: 62.87 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00107/2.184, allocations: 383.4 kB / 1.687 GB, free: 62.5 MB / 0.8855 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.00083/2.185, allocations: 470.9 kB / 1.687 GB, free: 62.04 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001425/2.186, allocations: 0.4993 MB / 1.688 GB, free: 61.54 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/2.186, allocations: 0 / 1.688 GB, free: 61.54 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003346/2.186, allocations: 154.1 kB / 1.688 GB, free: 61.39 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/2.188, allocations: 374.8 kB / 1.688 GB, free: 61.03 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/2.19, allocations: 1.313 MB / 1.689 GB, free: 59.68 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/2.191, allocations: 0.9293 MB / 1.69 GB, free: 58.72 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005412/2.191, allocations: 121 kB / 1.69 GB, free: 58.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.735e-05/2.191, allocations: 47.44 kB / 1.691 GB, free: 58.55 MB / 0.8855 GB Notification: Performance of SimCode: time 5.61e-07/2.191, allocations: 4 kB / 1.691 GB, free: 58.55 MB / 0.8855 GB Notification: Performance of Templates: time 0.02715/2.218, allocations: 15.16 MB / 1.705 GB, free: 43.58 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (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)