Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.56/1.56, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001092/0.001092, allocations: 184.8 kB / 361.4 MB, free: 6.812 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.41/1.41, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.000955/0.000955, allocations: 99.27 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.948e-05/1.951e-05, allocations: 4 kB / 0.8517 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6061/0.6062, allocations: 115.3 MB / 0.9644 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8983/1.504, allocations: 397.9 MB / 1.353 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/1.505, allocations: 91.38 kB / 1.353 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.289/2.793, allocations: 406.5 MB / 1.75 GB, free: 209.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.423e-06/2.794, allocations: 0 / 1.75 GB, free: 209.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.78e-05/2.794, allocations: 26.38 kB / 1.75 GB, free: 209.2 MB / 0.9323 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.001601/2.795, allocations: 1.031 MB / 1.751 GB, free: 208.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/2.795, allocations: 13.03 kB / 1.751 GB, free: 208.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/2.795, allocations: 94.59 kB / 1.751 GB, free: 208.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008484/2.796, allocations: 0.5746 MB / 1.752 GB, free: 207.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/2.796, allocations: 17.94 kB / 1.752 GB, free: 207.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.886e-05/2.796, allocations: 36 kB / 1.752 GB, free: 207.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004201/2.797, allocations: 242 kB / 1.752 GB, free: 207.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/2.797, allocations: 308.6 kB / 1.752 GB, free: 207.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/2.797, allocations: 0 / 1.752 GB, free: 207.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/2.797, allocations: 3.906 kB / 1.752 GB, free: 207.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/2.797, allocations: 10.78 kB / 1.752 GB, free: 207.6 MB / 0.9323 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.00233/2.8, allocations: 1.737 MB / 1.754 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/2.8, allocations: 154.1 kB / 1.754 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.501e-05/2.8, allocations: 66.06 kB / 1.754 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/2.8, allocations: 347.1 kB / 1.755 GB, free: 205.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/2.8, allocations: 34.52 kB / 1.755 GB, free: 205.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/2.8, allocations: 0 / 1.755 GB, free: 205.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.0004981/2.801, allocations: 215.8 kB / 1.755 GB, free: 205.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/2.801, allocations: 55.41 kB / 1.755 GB, free: 205.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/2.801, allocations: 479.2 kB / 1.755 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/2.801, allocations: 32.2 kB / 1.755 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/2.802, allocations: 365.9 kB / 1.756 GB, free: 204.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/2.802, allocations: 66.19 kB / 1.756 GB, free: 204.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.66e-05/2.802, allocations: 112 / 1.756 GB, free: 204.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.859e-05/2.802, allocations: 376.3 kB / 1.756 GB, free: 204.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/2.802, allocations: 74.78 kB / 1.756 GB, free: 204.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/2.802, allocations: 196.4 kB / 1.756 GB, free: 204.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/2.802, allocations: 126.9 kB / 1.757 GB, free: 204.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/2.802, allocations: 3.938 kB / 1.757 GB, free: 204.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005043/2.803, allocations: 328.2 kB / 1.757 GB, free: 204 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.121e-05/2.803, allocations: 278.1 kB / 1.757 GB, free: 203.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/2.803, allocations: 0 / 1.757 GB, free: 203.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/2.803, allocations: 3.938 kB / 1.757 GB, free: 203.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009365/2.804, allocations: 144.8 kB / 1.757 GB, free: 203.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009305/2.805, allocations: 2.387 MB / 1.76 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/2.805, allocations: 73.22 kB / 1.76 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/2.805, allocations: 14.52 kB / 1.76 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/2.805, allocations: 3.906 kB / 1.76 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004064/2.806, allocations: 223.4 kB / 1.76 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/2.806, allocations: 6.406 kB / 1.76 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/2.806, allocations: 3.844 kB / 1.76 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/2.806, allocations: 103.1 kB / 1.76 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/2.806, allocations: 0 / 1.76 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/2.807, allocations: 70.11 kB / 1.76 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/2.807, allocations: 11.09 kB / 1.76 GB, free: 201.1 MB / 0.9323 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.698e-05/2.807, allocations: 123.6 kB / 1.76 GB, free: 201 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/2.807, allocations: 65.36 kB / 1.76 GB, free: 201 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005163/2.808, allocations: 257.9 kB / 1.76 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/2.808, allocations: 3.906 kB / 1.76 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/2.808, allocations: 3.984 kB / 1.76 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/2.808, allocations: 3.938 kB / 1.76 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009024/2.809, allocations: 0.7704 MB / 1.761 GB, free: 200.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/2.809, allocations: 3.344 kB / 1.761 GB, free: 200.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/2.809, allocations: 81.86 kB / 1.761 GB, free: 200.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/2.809, allocations: 3.969 kB / 1.761 GB, free: 200.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/2.809, allocations: 11.88 kB / 1.761 GB, free: 200.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006569/2.81, allocations: 2.354 MB / 1.764 GB, free: 197.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/2.81, allocations: 3.875 kB / 1.764 GB, free: 197.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/2.81, allocations: 393.7 kB / 1.764 GB, free: 197.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/2.81, allocations: 174.1 kB / 1.764 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/2.81, allocations: 3.984 kB / 1.764 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/2.811, allocations: 44.27 kB / 1.764 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/2.811, allocations: 19.28 kB / 1.764 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/2.811, allocations: 7.719 kB / 1.764 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003277/2.811, allocations: 365.1 kB / 1.765 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/2.811, allocations: 0 / 1.765 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009285/2.812, allocations: 384.1 kB / 1.765 GB, free: 197 MB / 0.9323 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.0007179/2.813, allocations: 481.9 kB / 1.765 GB, free: 196.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001102/2.814, allocations: 421 kB / 1.766 GB, free: 196.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/2.814, allocations: 0 / 1.766 GB, free: 196.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002625/2.814, allocations: 114.6 kB / 1.766 GB, free: 196.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/2.816, allocations: 296.6 kB / 1.766 GB, free: 196.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/2.817, allocations: 0.7281 MB / 1.767 GB, free: 196 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/2.817, allocations: 0.9424 MB / 1.768 GB, free: 195.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005052/2.818, allocations: 133.7 kB / 1.768 GB, free: 195.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/2.818, allocations: 33.47 kB / 1.768 GB, free: 195.2 MB / 0.9323 GB Notification: Performance of SimCode: time 3.71e-07/2.818, allocations: 2.906 kB / 1.768 GB, free: 195.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.01847/2.836, allocations: 12.37 MB / 1.78 GB, free: 189.4 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)