Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.725/2.725, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.001536/0.001536, allocations: 178.5 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001608/0.001608, allocations: 94.86 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005226/0.0005227, allocations: 16.2 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2167, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.05814/0.2749, allocations: 26.08 MB / 1.004 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03129/0.3063, allocations: 12.26 MB / 1.016 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.3078, allocations: 35.62 kB / 1.016 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00252/0.3104, allocations: 0.5056 MB / 1.016 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005412/0.3158, allocations: 1.099 MB / 1.017 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.3263, allocations: 2.318 MB / 1.019 GB, free: 2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00328/0.3296, allocations: 1.234 MB / 1.021 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.3309, allocations: 0.5305 MB / 1.021 GB, free: 220 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002529/0.3335, allocations: 0.763 MB / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.3348, allocations: 462 kB / 1.022 GB, free: 15 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.335, allocations: 32 kB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.3365, allocations: 383.5 kB / 1.023 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.3367, allocations: 127.4 kB / 1.023 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.000339/0.3371, allocations: 181.3 kB / 1.023 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.3385, allocations: 0.6974 MB / 1.024 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3386, allocations: 4 kB / 1.024 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.358e-06/0.3386, allocations: 0 / 1.024 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.3386, allocations: 3.938 kB / 1.024 GB, free: 13.57 MB / 0.6511 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.002638/0.3413, allocations: 1 MB / 1.025 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3413, allocations: 8.031 kB / 1.025 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002923/0.3416, allocations: 94.88 kB / 1.025 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.3431, allocations: 0.5265 MB / 1.025 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/0.3432, allocations: 48.92 kB / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.3433, allocations: 56 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.3446, allocations: 410.4 kB / 1.026 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.3446, allocations: 0 / 1.026 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.081e-05/0.3447, allocations: 23.95 kB / 1.026 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.3447, allocations: 12 kB / 1.026 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.3459, allocations: 311.8 kB / 1.026 GB, free: 11 MB / 0.6511 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.004824/0.3507, allocations: 1.85 MB / 1.028 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/0.3514, allocations: 166.5 kB / 1.028 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003943/0.3518, allocations: 340.4 kB / 1.028 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.3519, allocations: 38.56 kB / 1.029 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 2.836e-06/0.3519, allocations: 0 / 1.029 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.001298/0.3532, allocations: 329.3 kB / 1.029 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.3533, allocations: 59.34 kB / 1.029 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.3545, allocations: 0.6686 MB / 1.03 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.126e-05/0.3546, allocations: 37.7 kB / 1.03 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004/0.355, allocations: 352.1 kB / 1.03 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.918e-05/0.3551, allocations: 74.98 kB / 1.03 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.3552, allocations: 8 kB / 1.03 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.3554, allocations: 378.7 kB / 1.03 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.3559, allocations: 103.9 kB / 1.03 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005203/0.3564, allocations: 174 kB / 1.031 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/0.3569, allocations: 133.5 kB / 1.031 GB, free: 6.031 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3569, allocations: 0 / 1.031 GB, free: 6.031 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001315/0.3582, allocations: 395.2 kB / 1.031 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.3584, allocations: 270.9 kB / 1.031 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.3584, allocations: 3.953 kB / 1.031 GB, free: 5.352 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3585, allocations: 4 kB / 1.031 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/0.3604, allocations: 167.9 kB / 1.032 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.3623, allocations: 2.36 MB / 1.034 GB, free: 2.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.3635, allocations: 87.78 kB / 1.034 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.531e-05/0.3636, allocations: 23.98 kB / 1.034 GB, free: 2.621 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3636, allocations: 2.031 kB / 1.034 GB, free: 2.621 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001026/0.3647, allocations: 287.8 kB / 1.034 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3647, allocations: 4 kB / 1.034 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.3647, allocations: 0 / 1.034 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008445/0.3656, allocations: 107.8 kB / 1.034 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.3656, allocations: 0 / 1.034 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.3666, allocations: 83.53 kB / 1.034 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.3667, allocations: 19.94 kB / 1.034 GB, free: 2.129 MB / 0.6511 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.0004544/0.3672, allocations: 261 kB / 1.035 GB, free: 1.863 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.3674, allocations: 67.16 kB / 1.035 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.3685, allocations: 323.3 kB / 1.035 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.3685, allocations: 7.953 kB / 1.035 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.3686, allocations: 4 kB / 1.035 GB, free: 1.465 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.3686, allocations: 0 / 1.035 GB, free: 1.465 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.3708, allocations: 0.8917 MB / 1.036 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.3708, allocations: 4 kB / 1.036 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006327/0.3715, allocations: 75.81 kB / 1.036 GB, free: 436 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.3715, allocations: 4 kB / 1.036 GB, free: 432 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.3715, allocations: 4 kB / 1.036 GB, free: 428 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.3732, allocations: 2.36 MB / 1.038 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.3733, allocations: 8.125 kB / 1.038 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.3744, allocations: 454.6 kB / 1.039 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004411/0.3749, allocations: 168.2 kB / 1.039 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.375, allocations: 7.984 kB / 1.039 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000848/0.3759, allocations: 51.8 kB / 1.039 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.804e-05/0.376, allocations: 27.88 kB / 1.039 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.3761, allocations: 12.12 kB / 1.039 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000923/0.377, allocations: 463 kB / 1.039 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.51e-07/0.377, allocations: 0 / 1.039 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001446/0.3785, allocations: 339.2 kB / 1.04 GB, free: 12.4 MB / 0.6667 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.0007216/0.3792, allocations: 246.8 kB / 1.04 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002976/0.3822, allocations: 0.4999 MB / 1.041 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.3823, allocations: 0 / 1.041 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007641/0.383, allocations: 145.9 kB / 1.041 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003608/0.3867, allocations: 372.6 kB / 1.041 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.39, allocations: 1.313 MB / 1.042 GB, free: 9.797 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/0.3908, allocations: 0.9375 MB / 1.043 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009252/0.3917, allocations: 124.9 kB / 1.043 GB, free: 8.711 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.3919, allocations: 51.44 kB / 1.043 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of SimCode: time 1.412e-06/0.3919, allocations: 0 / 1.043 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of Templates: time 0.03735/0.4293, allocations: 12.08 MB / 1.055 GB, free: 12.75 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)