Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001586/0.001586, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 292.3 MB / 0.5495 GB, free: 17.5 MB / 462.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.002216/0.002216, allocations: 67.19 kB / 0.6722 GB, free: 6.605 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2309, allocations: 114.6 MB / 0.784 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5069/0.7378, allocations: 155.1 MB / 0.9355 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05066/0.7885, allocations: 34.74 MB / 0.9695 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007722/0.7963, allocations: 154.9 kB / 0.9696 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003818/0.8002, allocations: 1.04 MB / 0.9706 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00993/0.8101, allocations: 3.137 MB / 0.9737 GB, free: 8.531 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006723/0.8169, allocations: 2.473 MB / 0.9761 GB, free: 6.117 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.007921/0.8248, allocations: 5.295 MB / 0.9813 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003735/0.8286, allocations: 2.201 MB / 0.9834 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006242/0.8349, allocations: 2.642 MB / 0.986 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003617/0.8385, allocations: 1.945 MB / 0.9879 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0007533/0.8393, allocations: 211.9 kB / 0.9881 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002933/0.8422, allocations: 1.092 MB / 0.9892 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0007005/0.843, allocations: 0.5448 MB / 0.9897 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.845, allocations: 1.251 MB / 0.9909 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004645/0.8497, allocations: 3.244 MB / 0.9941 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.8497, allocations: 0 / 0.9941 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.386e-06/0.8497, allocations: 3.984 kB / 0.9941 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.893e-05/0.8498, allocations: 4 kB / 0.9941 GB, free: 3.59 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.005586/0.8554, allocations: 2.747 MB / 0.9968 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.8555, allocations: 8.031 kB / 0.9968 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005133/0.856, allocations: 260.9 kB / 0.997 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.8583, allocations: 1.421 MB / 0.9984 GB, free: 15.02 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.618e-05/0.8584, allocations: 106.3 kB / 0.9985 GB, free: 14.91 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.8586, allocations: 142.8 kB / 0.9987 GB, free: 14.78 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.8607, allocations: 1.167 MB / 0.9998 GB, free: 13.58 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.8607, allocations: 0 / 0.9998 GB, free: 13.58 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.8608, allocations: 48 kB / 0.9998 GB, free: 13.54 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.8609, allocations: 28 kB / 0.9999 GB, free: 13.51 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.8627, allocations: 1.013 MB / 1.001 GB, free: 12.49 MB / 0.795 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.01095/0.8737, allocations: 6.348 MB / 1.007 GB, free: 5.668 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009922/0.8747, allocations: 0.5641 MB / 1.008 GB, free: 5.098 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005882/0.8753, allocations: 388.4 kB / 1.008 GB, free: 4.719 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000437/0.8758, allocations: 0.507 MB / 1.008 GB, free: 4.102 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.8758, allocations: 43.06 kB / 1.009 GB, free: 4.047 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001711/0.8775, allocations: 234.8 kB / 1.009 GB, free: 3.816 MB / 0.795 GB Notification: Performance of pre-optimization done (n=58): time 5.19e-06/0.8776, allocations: 0 / 1.009 GB, free: 3.816 MB / 0.795 GB Notification: Performance of matching and sorting (n=58): time 0.002442/0.88, allocations: 1.156 MB / 1.01 GB, free: 2.652 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.8801, allocations: 59.91 kB / 1.01 GB, free: 2.582 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002565/0.8827, allocations: 1.847 MB / 1.012 GB, free: 0.707 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.8829, allocations: 41.7 kB / 1.012 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008142/0.8837, allocations: 0.9147 MB / 1.013 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.8839, allocations: 205 kB / 1.013 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004242/0.8843, allocations: 298.6 kB / 1.013 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.8845, allocations: 349.9 kB / 1.013 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008435/0.8854, allocations: 461.8 kB / 1.014 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.8864, allocations: 0.6899 MB / 1.015 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.888, allocations: 0.9735 MB / 1.016 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.8881, allocations: 4 kB / 1.016 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002815/0.8909, allocations: 1.428 MB / 1.017 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.8909, allocations: 8 kB / 1.017 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.8909, allocations: 4.375 kB / 1.017 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.891, allocations: 12 kB / 1.017 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.8922, allocations: 295.4 kB / 1.017 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.8923, allocations: 12 kB / 1.017 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.8939, allocations: 75.92 kB / 1.017 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.894, allocations: 63.94 kB / 1.017 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001323/0.8954, allocations: 0.7173 MB / 1.018 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001001/0.8964, allocations: 0.6684 MB / 1.019 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001506/0.8979, allocations: 0.9345 MB / 1.02 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.978e-06/0.8979, allocations: 0 / 1.02 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002566/0.9005, allocations: 1.385 MB / 1.021 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.9005, allocations: 8 kB / 1.021 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.9005, allocations: 4 kB / 1.021 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.9005, allocations: 8 kB / 1.021 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.9017, allocations: 283.2 kB / 1.021 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.9018, allocations: 15.94 kB / 1.021 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.9035, allocations: 101.3 kB / 1.021 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.9036, allocations: 63.95 kB / 1.021 GB, free: 6.438 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000317/0.9039, allocations: 237.1 kB / 1.022 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/0.9043, allocations: 197.5 kB / 1.022 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.9065, allocations: 1.094 MB / 1.023 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.9065, allocations: 11.94 kB / 1.023 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.9066, allocations: 4 kB / 1.023 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.9066, allocations: 3.984 kB / 1.023 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003924/0.9105, allocations: 2.42 MB / 1.025 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.9105, allocations: 4.031 kB / 1.025 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006007/0.9111, allocations: 131.8 kB / 1.025 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.9112, allocations: 8 kB / 1.025 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.9112, allocations: 15.98 kB / 1.025 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.9112, allocations: 8 kB / 1.025 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9112, allocations: 0 / 1.025 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.9129, allocations: 1.07 MB / 1.027 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/0.9135, allocations: 342.4 kB / 1.027 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.9137, allocations: 15.98 kB / 1.027 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007715/0.9145, allocations: 39.97 kB / 1.027 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.9146, allocations: 48.58 kB / 1.027 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/0.9147, allocations: 27.94 kB / 1.027 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001779/0.9165, allocations: 1.219 MB / 1.028 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9165, allocations: 0 / 1.028 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002383/0.9189, allocations: 0.9121 MB / 1.029 GB, free: 14.48 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007834/0.9197, allocations: 339.7 kB / 1.029 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003443/0.9231, allocations: 1.697 MB / 1.031 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.9232, allocations: 0 / 1.031 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006675/0.9238, allocations: 419.9 kB / 1.031 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005027/0.9289, allocations: 1.104 MB / 1.033 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005065/0.934, allocations: 3.043 MB / 1.036 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009615/0.935, allocations: 1.397 MB / 1.037 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006703/0.9356, allocations: 163.4 kB / 1.037 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of SimCode: time 1.202e-06/0.9357, allocations: 3.938 kB / 1.037 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of Templates: time 0.05039/0.9861, allocations: 30.93 MB / 1.067 GB, free: 7.805 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)